Module cluster

Source

Structs§

CLUSTER_NODE_INFO_PREFIX_PATTERN 🔒
DatanodeStatus
The status of a datanode.
FlownodeStatus
The status of a flownode.
FrontendStatus
The status of a frontend.
MetasrvStatus
The status of a metasrv.
NodeInfo
The information of a node in the cluster.
NodeInfoKey
The key of NodeInfo in the storage. The format is __meta_cluster_node_info-0-{role}-{node_id}.

Enums§

NodeStatus
Role

Constants§

CLUSTER_NODE_INFO_PREFIX 🔒

Traits§

ClusterInfo
ClusterInfo provides information about the cluster.

Functions§

calculate_node_id 🔒
Calculate (by using the DefaultHasher) the node’s id from its address.