Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arana-db/kiwi
/ functions
Functions
2,670 in github.com/arana-db/kiwi
⨍
Functions
2,670
◇
Types & classes
421
↓ 1 callers
Method
hgetall
Get all fields and values in a hash
src/storage/src/redis_hashes.rs:421
↓ 1 callers
Method
hincrby
Increment the integer value of a hash field
src/storage/src/redis_hashes.rs:890
↓ 1 callers
Method
hincrbyfloat
Increment the float value of a hash field
src/storage/src/redis_hashes.rs:1046
↓ 1 callers
Method
hkeys
Get all the fields in a hash
src/storage/src/redis_hashes.rs:188
↓ 1 callers
Method
hll_hash
Hash function for HyperLogLog
src/storage/src/redis_hyperloglog.rs:385
↓ 1 callers
Method
hmget
Get multiple hash field values
src/storage/src/redis_hashes.rs:547
↓ 1 callers
Method
hmset
Set multiple hash fields
src/storage/src/redis_hashes.rs:617
↓ 1 callers
Method
hsetnx
Set field only if it doesn't exist
src/storage/src/redis_hashes.rs:765
↓ 1 callers
Method
hstrlen
Get the length of a hash field value
src/storage/src/redis_hashes.rs:1205
↓ 1 callers
Method
hvals
Get all values in a hash
src/storage/src/redis_hashes.rs:486
↓ 1 callers
Method
id
Get the connection ID
src/net/src/pool.rs:106
↓ 1 callers
Method
incr_by
INCRBY command - increment by a specific amount
src/net/src/storage_client.rs:179
↓ 1 callers
Method
incr_decr_float
(&self, key: &[u8], incr: f64)
src/storage/src/storage_impl.rs:291
↓ 1 callers
Method
init_cf_tracker
Initialize cf_tracker from restored SST properties after snapshot install or from existing DB on startup
src/raft/src/state_machine.rs:216
↓ 1 callers
Method
init_cf_trackers
Initialize cf_tracker from SST properties for all instances This should be called after restoring a snapshot to reinitialize the cf_tracker with the
src/storage/src/storage.rs:600
↓ 1 callers
Function
initialize_storage
(config: &Config)
src/server/src/main.rs:198
↓ 1 callers
Method
initialize_storage_components
Initialize storage components by extracting the receiver and creating the storage client This must be called before the storage server is started and
src/common/runtime/manager.rs:411
↓ 1 callers
Function
initialize_storage_server
( request_receiver: tokio::sync::mpsc::Receiver<runtime::StorageRequest>, global_storage: GlobalStorag
src/server/src/main.rs:223
↓ 1 callers
Method
is_available
Check if storage is available for requests
src/common/runtime/message.rs:709
↓ 1 callers
Function
is_blocking_command
Check if a command is blocking and should be processed immediately
src/net/src/network_handle.rs:262
↓ 1 callers
Method
is_empty
Check if the batch is empty
src/net/src/async_resp_parser.rs:214
↓ 1 callers
Method
is_empty
(&self)
src/net/src/pipeline.rs:98
↓ 1 callers
Method
is_flush_pending
Whether manual flush is needed (queue length >= max_gap)
src/storage/src/logindex/collector.rs:127
↓ 1 callers
Method
is_idle
(&self, max_idle_time: Duration)
src/net/src/buffer.rs:84
↓ 1 callers
Method
is_locked
Returns `true` if the guard currently owns a lock.
src/kstd/src/lock_mgr.rs:131
↓ 1 callers
Method
is_partitioned
(&self)
src/common/runtime/stress_tests.rs:115
↓ 1 callers
Method
is_partitioned
(&self)
tests/dual_runtime_stress_tests.rs:113
↓ 1 callers
Method
is_running
Check if the RuntimeManager is running
src/common/runtime/manager.rs:282
↓ 1 callers
Method
is_stale
(&self)
src/storage/src/format_base_value.rs:219
↓ 1 callers
Method
iterator
Iterator operations
src/engine/src/rocksdb_engine.rs:148
↓ 1 callers
Method
key_etime
(&self, key: &[u8])
src/storage/src/redis_strings.rs:35
↓ 1 callers
Method
key_type
Get the data type of a key
src/storage/src/storage_impl.rs:671
↓ 1 callers
Function
leader_id_to_proto
(lid: &LeaderId<u64>)
src/raft/src/conversion.rs:37
↓ 1 callers
Method
leader_resp_addr
(&self)
src/raft/src/node.rs:98
↓ 1 callers
Function
lists_data_key_comparator_name
()
src/storage/src/custom_comparator.rs:25
↓ 1 callers
Function
log_id_to_proto
(lid: &LogId<u64>)
src/raft/src/conversion.rs:58
↓ 1 callers
Method
log_structured
Perform structured JSON logging
src/common/runtime/error_logging.rs:439
↓ 1 callers
Method
log_traditional
Perform traditional text-based logging
src/common/runtime/error_logging.rs:456
↓ 1 callers
Function
main
()
tests/tcl/tests/helpers/redis_queue.py:60
↓ 1 callers
Function
match_recursive
(pattern: &[char], text: &[char], p_idx: usize, t_idx: usize)
src/storage/src/redis_sets.rs:2420
↓ 1 callers
Method
materialize
(&mut self)
src/storage/src/logindex/table_properties.rs:56
↓ 1 callers
Method
min_meta_raw_len
(self)
src/storage/src/format_base_value.rs:42
↓ 1 callers
Method
modify_count
(&mut self, delta: u64)
src/storage/src/format_list_meta_value.rs:253
↓ 1 callers
Method
modify_count
(&mut self, delta: u64)
src/storage/src/format_base_meta_value.rs:215
↓ 1 callers
Method
mset
(&self, kvs: &[(Vec<u8>, Vec<u8>)])
src/storage/src/storage_impl.rs:98
↓ 1 callers
Method
msetnx
(&self, kvs: &[(Vec<u8>, Vec<u8>)])
src/storage/src/storage_impl.rs:131
↓ 1 callers
Function
parse_config_line
Parse a single configuration line Supports both "key value" and "key=value" formats
src/conf/src/de_func.rs:135
↓ 1 callers
Method
parse_meta_value
(&self, value: &[u8])
src/storage/src/data_compaction_filter.rs:129
↓ 1 callers
Method
pause_notify_arc
Get the pause notify Arc (for StorageServer initialization)
src/common/runtime/storage_server.rs:87
↓ 1 callers
Method
paused_arc
Get the paused flag Arc (for StorageServer initialization)
src/common/runtime/storage_server.rs:77
↓ 1 callers
Method
pending_count_arc
Get the pending count Arc (for StorageServer initialization)
src/common/runtime/storage_server.rs:82
↓ 1 callers
Method
pending_requests
Get the current number of pending requests in the channel
src/common/runtime/message.rs:387
↓ 1 callers
Method
persist
Remove the expiration from a key
src/storage/src/storage_impl.rs:625
↓ 1 callers
Method
pexpire
Set a timeout on key in milliseconds
src/storage/src/storage_impl.rs:563
↓ 1 callers
Method
pexpireat
Set the expiration for a key as a UNIX timestamp in milliseconds
src/storage/src/storage_impl.rs:605
↓ 1 callers
Method
pool_stats
Get connection pool statistics
src/net/src/network_server.rs:156
↓ 1 callers
Function
print_comprehensive_results
Print comprehensive benchmark results
benches/performance_benchmark.rs:111
↓ 1 callers
Method
process_buffer
(&mut self)
src/resp/src/parse.rs:449
↓ 1 callers
Function
process_connection_with_storage_client
Process connection using StorageClient for dual runtime architecture This function provides an updated version of process_connection that works with
src/net/src/handle.rs:127
↓ 1 callers
Function
process_network_connection
Process a network connection using StorageClient for storage operations This function replaces the original process_connection to work with the dual
src/net/src/network_handle.rs:47
↓ 1 callers
Method
process_queued_requests
Process queued requests when storage becomes available
src/common/runtime/message.rs:1249
↓ 1 callers
Method
process_with_pipeline
Process connection with pipeline optimization
src/net/src/optimized_handler.rs:144
↓ 1 callers
Method
process_without_pipeline
Process connection without pipeline (fallback)
src/net/src/optimized_handler.rs:233
↓ 1 callers
Method
property_int_value
(&self, property: &str)
src/engine/src/rocksdb_engine.rs:89
↓ 1 callers
Function
proto_to_committed_leader_id
(lid: &Option<&proto::LeaderId>)
src/raft/src/conversion.rs:44
↓ 1 callers
Method
random_key
Get a random key from the database
src/storage/src/redis_strings.rs:2338
↓ 1 callers
Method
read
( &self, request: Request<ReadRequest>, )
src/raft/src/grpc/client.rs:114
↓ 1 callers
Method
rebuild_grouped_requests
Rebuild grouped requests after priority sorting
src/common/runtime/storage_server.rs:814
↓ 1 callers
Method
record_backpressure_event
Record backpressure event
src/common/runtime/metrics.rs:901
↓ 1 callers
Method
record_batch_processed
Record batch processing
src/common/runtime/metrics.rs:893
↓ 1 callers
Method
record_bytes_received
Record bytes received
src/common/runtime/metrics.rs:700
↓ 1 callers
Method
record_bytes_sent
Record bytes sent
src/common/runtime/metrics.rs:706
↓ 1 callers
Method
record_correlation
Record request/response correlation
src/common/runtime/metrics.rs:1073
↓ 1 callers
Method
record_message_received
Record a message received
src/common/runtime/metrics.rs:1046
↓ 1 callers
Method
record_message_sent
Record a message sent
src/common/runtime/metrics.rs:1039
↓ 1 callers
Method
record_operation_failure
Record a failed storage operation
src/common/runtime/metrics.rs:827
↓ 1 callers
Method
record_operation_started
Record a storage operation started
src/common/runtime/metrics.rs:811
↓ 1 callers
Method
record_operation_success
Record a successful storage operation
src/common/runtime/metrics.rs:816
↓ 1 callers
Method
record_request_failure
Record a failed request
src/common/runtime/metrics.rs:690
↓ 1 callers
Method
record_request_success
Record a successful request
src/common/runtime/metrics.rs:681
↓ 1 callers
Method
record_timeout
Update statistics when a request times out
src/common/runtime/message.rs:442
↓ 1 callers
Method
release_pressure
(&mut self)
src/common/runtime/stress_tests.rs:89
↓ 1 callers
Method
release_pressure
(&mut self)
tests/dual_runtime_stress_tests.rs:87
↓ 1 callers
Method
remove_expiration
Remove expiration for a key (make it persistent)
src/storage/src/expiration_manager.rs:151
↓ 1 callers
Method
request_pause
Request pause: wait for all pending requests to complete.
src/common/runtime/storage_server.rs:58
↓ 1 callers
Function
run_standalone_tests
独立运行所有测试(不使用 pytest)
tests/python/test_mset.py:194
↓ 1 callers
Method
run_with_batching
Run the server with batching enabled
src/common/runtime/storage_server.rs:276
↓ 1 callers
Method
run_without_batching
Run the server without batching (process requests individually)
src/common/runtime/storage_server.rs:322
↓ 1 callers
Method
save_committed
( &mut self, committed: Option<LogId<u64>>, )
src/raft/src/log_store.rs:97
↓ 1 callers
Method
save_vote
(&mut self, vote: &Vote<u64>)
src/raft/src/log_store.rs:109
↓ 1 callers
Method
scan_keys
Scan for keys matching a pattern
src/storage/src/redis_strings.rs:2215
↓ 1 callers
Method
sdiffstore
Store the difference between the first set and all the successive sets into a destination key
src/storage/src/redis_sets.rs:2145
↓ 1 callers
Method
set
Set key to hold the string value
src/storage/src/redis_strings.rs:667
↓ 1 callers
Method
set
SET command - set a key-value pair with optional TTL
src/net/src/storage_client.rs:84
↓ 1 callers
Method
set_append_log_fn
Inject the Raft append-log callback, switching this instance to cluster mode. Idempotent: subsequent calls are ignored (OnceLock semantics).
src/storage/src/redis.rs:426
↓ 1 callers
Method
set_applied_log_index
Set applied_index for a specific CF (used during snapshot restore)
src/storage/src/logindex/cf_tracker.rs:165
↓ 1 callers
Method
set_count
(&mut self, count: u64)
src/storage/src/format_base_meta_value.rs:196
↓ 1 callers
Method
set_count_to_value
(&mut self)
src/storage/src/format_base_meta_value.rs:177
↓ 1 callers
Method
set_ctime
(&mut self, ctime: u64)
src/storage/src/format_list_meta_value.rs:263
↓ 1 callers
Method
set_ctime_to_value
(&mut self)
src/storage/src/format_strings_value.rs:153
← previous
next →
601–700 of 2,670, ranked by callers