Module tikv::server[][src]

Re-exports

pub use self::config::Config;
pub use self::config::ServerConfigManager;
pub use self::config::DEFAULT_CLUSTER_ID;
pub use self::config::DEFAULT_LISTENING_ADDR;
pub use self::errors::Error;
pub use self::errors::Result;
pub use self::node::create_raft_storage;
pub use self::node::Node;
pub use self::raftkv::RaftKv;
pub use self::resolve::PdStoreAddrResolver;
pub use self::resolve::StoreAddrResolver;
pub use self::server::Server;
pub use self::server::GRPC_THREAD_PREFIX;
pub use self::transport::ServerTransport;

Modules

config
debug
errors
gc_worker
load_statistics
lock_manager
metrics
node
proxy

A module for forward connections from client.

raft_client
raftkv
resolve
server
service
snap
status_server
transport
ttl

Structs

CONFIG_ROCKSDB_GAUGE
CPU_CORES_QUOTA_GAUGE
ConnectionBuilder
Proxy

A proxy struct that maintains connections to different addresses.

RaftClient

A raft client that can manages connections correctly.

Functions

build_forward_option

Build a call option that will make receiver to forward the rpc to target_address.

get_target_address

Checks if the message is supposed to send to another address.