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
↓ 6 callers
Function
close_storage
(storage: Arc<Storage>, name: &str)
src/raft/tests/snapshot_roundtrip_test.rs:29
↓ 6 callers
Method
create_partition
创建网络分区:将节点分成两组
tests/raft_network_partition_tests.rs:68
↓ 6 callers
Function
create_string_value
(value: &[u8], etime: u64)
src/storage/tests/redis_basic_test.rs:186
↓ 6 callers
Function
decode_log_key
解码 RocksDB 键为日志索引
src/raft/src/log_store_rocksdb.rs:503
↓ 6 callers
Method
do_truncate
截断指定索引及之后的所有日志条目
src/raft/src/log_store_rocksdb.rs:259
↓ 6 callers
Method
get
Get the value of a key
src/storage/src/redis_strings.rs:495
↓ 6 callers
Method
get_cf_flushed
(&self, cf_id: usize)
src/storage/src/logindex/cf_tracker.rs:268
↓ 6 callers
Method
hget
Get the value of a hash field
src/storage/src/redis_hashes.rs:137
↓ 6 callers
Method
is_ok
(&self)
src/kstd/src/status.rs:56
↓ 6 callers
Method
iterator_cf
( &'a self, cf: &ColumnFamilyRef<'a>, mode: IteratorMode, )
src/engine/src/rocksdb_engine.rs:160
↓ 6 callers
Method
log_error
Log an error event with full context
src/common/runtime/error_logging.rs:211
↓ 6 callers
Method
lrem
Removes the first count occurrences of elements equal to value from the list
src/storage/src/redis_lists.rs:830
↓ 6 callers
Method
mget
MGET command - multiple get operations
src/net/src/storage_client.rs:234
↓ 6 callers
Method
mset
MSET key value [key value ...] Sets the given keys to their respective values. MSET replaces existing values with new values, just like regular SET.
src/storage/src/redis_strings.rs:1156
↓ 6 callers
Function
parse_lex_range
Parse lexicographical range specifier Returns (member, is_exclusive) - "-" means negative infinity (None, false) - "+" means positive infinity (None,
src/storage/src/redis_zsets.rs:2094
↓ 6 callers
Method
push_core
Core implementation for pushing values to a list position: true for left (head), false for right (tail) allow_create: if true, creates new list when k
src/storage/src/redis_lists.rs:43
↓ 6 callers
Method
put
(&self, key: &[u8], value: &[u8])
src/engine/src/rocksdb_engine.rs:57
↓ 6 callers
Method
record_success
Record a successful request
src/common/runtime/message.rs:294
↓ 6 callers
Method
request_sender
Get the request sender (for network runtime)
src/common/runtime/message.rs:361
↓ 6 callers
Method
scard
Get the number of members in a set
src/storage/src/redis_sets.rs:174
↓ 6 callers
Method
set_ctime
(&mut self, ctime: u64)
src/storage/src/format_base_data_value.rs:123
↓ 6 callers
Method
validate
Validate the configuration parameters
src/conf/src/runtime_config.rs:257
↓ 6 callers
Method
zrangebylex
Return a range of members in a sorted set, by lexicographical range
src/storage/src/redis_zsets.rs:1306
↓ 5 callers
Method
cf_read
获取列族句柄,若不存在则返回读操作错误
src/raft/src/log_store_rocksdb.rs:78
↓ 5 callers
Method
clear
(&mut self)
src/storage/src/batch.rs:219
↓ 5 callers
Method
cmd_name
(&self)
src/client/src/lib.rs:101
↓ 5 callers
Function
create_test_base_meta_value
()
src/storage/src/format_base_meta_value.rs:251
↓ 5 callers
Function
create_test_lists_meta_value
()
src/storage/src/format_list_meta_value.rs:335
↓ 5 callers
Method
ctime
(&self)
src/storage/src/format_base_value.rs:207
↓ 5 callers
Function
decode_fixed
(buf: &[u8])
src/storage/src/coding.rs:76
↓ 5 callers
Function
deserialize
反序列化字节序列为数据结构
src/raft/src/log_store_rocksdb.rs:488
↓ 5 callers
Method
do_read_vote
从持久化存储读取投票信息
src/raft/src/log_store_rocksdb.rs:198
↓ 5 callers
Method
do_save_vote
保存投票信息到持久化存储
src/raft/src/log_store_rocksdb.rs:182
↓ 5 callers
Method
encode
(&self)
src/storage/src/format_lists_data_key.rs:67
↓ 5 callers
Function
error_response
错误响应
src/raft/src/grpc/admin.rs:70
↓ 5 callers
Method
exists
EXISTS command - check if keys exist
src/net/src/storage_client.rs:123
↓ 5 callers
Method
finish
(&mut self)
src/storage/src/logindex/table_properties.rs:86
↓ 5 callers
Method
force_shutdown
Force a graceful shutdown with timeout
src/common/runtime/manager.rs:358
↓ 5 callers
Method
get_logindex_collector
Get logindex collector for specified instance
src/storage/src/storage.rs:545
↓ 5 callers
Method
get_stats
Get runtime statistics
src/common/runtime/manager.rs:379
↓ 5 callers
Method
getbit
(&self, key: &[u8], offset: i64)
src/storage/src/storage_impl.rs:242
↓ 5 callers
Method
load_cursor_start_key
(&self, dtype: DataType, cursor: i64)
src/storage/src/storage.rs:428
↓ 5 callers
Function
make_client
()
src/cmd/src/auth.rs:134
↓ 5 callers
Method
metrics
( &self, _request: Request<MetricsRequest>, )
src/raft/src/grpc/client.rs:169
↓ 5 callers
Method
next_command
(&mut self)
src/resp/src/parse.rs:496
↓ 5 callers
Function
ok_response
()
src/raft/src/grpc/client.rs:62
↓ 5 callers
Method
on_binlog_write
Apply a Raft binlog entry to the underlying RocksDB instance and record `(raft_log_index, seqno)` in the LogIndex collector. Single-writer invariant*
src/storage/src/storage.rs:501
↓ 5 callers
Method
open
打开或创建指定路径的 RocksDB 日志存储
src/raft/src/log_store_rocksdb.rs:354
↓ 5 callers
Function
parse_bool_from_string
Parse boolean from string (for config parsing, not serde)
src/conf/src/de_func.rs:48
↓ 5 callers
Function
put_meta
(db: &Arc<DB>, user_key: &[u8], data_type: DataType, version: u64, etime: u64)
src/storage/src/data_compaction_filter.rs:293
↓ 5 callers
Method
record_request_sent
Update statistics when a request is sent
src/common/runtime/message.rs:406
↓ 5 callers
Method
return_buffer
Return a buffer to the pool
src/net/src/buffer.rs:192
↓ 5 callers
Method
run
Start the storage server and begin processing requests
src/common/runtime/storage_server.rs:250
↓ 5 callers
Method
send_request_with_priority
Send a storage request with custom timeout and priority
src/common/runtime/message.rs:837
↓ 5 callers
Method
set_expiration
Set expiration time for a key
src/storage/src/expiration_manager.rs:128
↓ 5 callers
Method
set_key_etime_for_instance
( &self, instance_id: usize, key: &[u8], etime: u64, )
src/storage/src/storage_impl.rs:35
↓ 5 callers
Method
set_left_index
(&mut self, index: u64)
src/storage/src/format_list_meta_value.rs:283
↓ 5 callers
Method
zrangebyscore
Return a range of members in a sorted set, by score
src/storage/src/redis_zsets.rs:1405
↓ 5 callers
Method
zrem
Remove one or more members from a sorted set
src/storage/src/redis_zsets.rs:776
↓ 5 callers
Method
zremrangebyrank
Remove all members in a sorted set within the given indexes
src/storage/src/redis_zsets.rs:1603
↓ 5 callers
Method
zrevrangebyscore
Return a range of members in a sorted set, by score, with scores ordered from high to low
src/storage/src/redis_zsets.rs:1926
↓ 5 callers
Method
zunionstore
Compute the union of multiple sorted sets and store the result
src/storage/src/redis_zsets.rs:1071
↓ 4 callers
Function
auth_cmd_with
(password: Option<&str>)
src/cmd/src/auth.rs:143
↓ 4 callers
Method
build_append_batch
将日志条目序列化为 WriteBatch
src/raft/src/log_store_rocksdb.rs:88
↓ 4 callers
Function
build_test_buffer
()
src/storage/src/format_strings_value.rs:239
↓ 4 callers
Method
calculate_percentiles
(&self)
src/common/runtime/metrics.rs:625
↓ 4 callers
Method
capacity
(&self)
src/net/src/buffer.rs:93
↓ 4 callers
Method
close
Close all RocksDB instances and release file handles. Used before reopening Storage after snapshot installation.
src/storage/src/storage.rs:229
↓ 4 callers
Function
create_list_meta_value
(count: u64, etime: u64)
src/storage/tests/redis_basic_test.rs:180
↓ 4 callers
Method
data
(&self)
src/storage/src/format_member_data_key.rs:144
↓ 4 callers
Method
do_cmd
(&self, client: &Client, _storage: Arc<Storage>)
src/cmd/src/auth.rs:74
↓ 4 callers
Method
do_compact_range
(&self, _dtype: DataType, _start: &str, _end: &str)
src/storage/src/storage.rs:381
↓ 4 callers
Method
encode
(&self)
src/storage/src/format_base_data_value.rs:49
↓ 4 callers
Method
encode_hash_data_prefix
Helper method to encode hash data prefix
src/storage/src/redis_multi.rs:481
↓ 4 callers
Method
encode_list_data_prefix
Helper method to encode list data prefix
src/storage/src/redis_multi.rs:508
↓ 4 callers
Method
encode_zsets_member_prefix
Helper method to encode zsets member prefix
src/storage/src/redis_multi.rs:535
↓ 4 callers
Method
exists
Check if a key exists
src/storage/src/redis_multi.rs:130
↓ 4 callers
Method
export_state
Export state for snapshot serialization. Returns a list of `"log_index:seqno"` strings where both values are decimal integers. This on-disk format is
src/storage/src/logindex/collector.rs:147
↓ 4 callers
Method
get_current_snapshot
( &mut self, )
src/raft/src/state_machine.rs:438
↓ 4 callers
Method
get_health_status
Get current health status
src/common/runtime/metrics.rs:1281
↓ 4 callers
Method
get_key_type
Get the data type of a key # Arguments `key` - The key to check # Returns `Ok(DataType)` - the data type of the key `Err(RedisErr)` - if there's a d
src/storage/src/redis_strings.rs:2092
↓ 4 callers
Function
get_largest_log_index_from_collection
Find the largest log index from TablePropertiesCollection
src/storage/src/logindex/table_properties.rs:147
↓ 4 callers
Method
get_smallest_log_index
Get smallest applied/flushed log index (used for Purge, SetFlushedLogIndexGlobal) `flush_cf`: index of CF currently being flushed, `None` means none
src/storage/src/logindex/cf_tracker.rs:120
↓ 4 callers
Method
hash
(&self, state: &mut H)
src/storage/src/statistics.rs:45
↓ 4 callers
Method
hll_add_to_registers
Add an element to HyperLogLog registers
src/storage/src/redis_hyperloglog.rs:252
↓ 4 callers
Method
incr_decr
(&self, key: &[u8], incr: i64)
src/storage/src/storage_impl.rs:188
↓ 4 callers
Function
io_err_to_raft
(e: std::io::Error)
src/raft/src/state_machine.rs:55
↓ 4 callers
Method
len
Get the number of commands in this batch
src/net/src/async_resp_parser.rs:209
↓ 4 callers
Method
log_simple_error
Log an error with minimal context (convenience method)
src/common/runtime/error_logging.rs:286
↓ 4 callers
Method
ltrim
Trims the list to the specified range
src/storage/src/redis_lists.rs:732
↓ 4 callers
Function
make_storage
()
src/cmd/src/auth.rs:139
↓ 4 callers
Method
name
(&self)
src/storage/src/redis.rs:73
↓ 4 callers
Method
network_handle
Get a handle to the network runtime
src/common/runtime/manager.rs:314
↓ 4 callers
Function
ok_response
成功响应
src/raft/src/grpc/admin.rs:62
↓ 4 callers
Method
open
( &mut self, options: Arc<StorageOptions>, db_path: impl AsRef<Path>, )
src/storage/src/storage.rs:165
↓ 4 callers
Method
psetex
(&self, key: &[u8], milliseconds: i64, value: &[u8])
src/storage/src/storage_impl.rs:224
↓ 4 callers
Method
purge
(&mut self, log_id: LogId<u64>)
src/raft/src/log_store.rs:151
↓ 4 callers
Function
read_stats_from_table_props
Parse log_index/seqno from TableProperties' user_collected_properties
src/storage/src/logindex/table_properties.rs:131
↓ 4 callers
Method
record_request_received
Update statistics when a request is received
src/common/runtime/message.rs:418
↓ 4 callers
Method
record_response_sent
Update statistics when a response is sent
src/common/runtime/message.rs:424
← previous
next →
201–300 of 2,670, ranked by callers