Struct rustis::commands::ClusterInfo
source · pub struct ClusterInfo {Show 34 fields
pub cluster_state: ClusterState,
pub cluster_slots_assigned: usize,
pub cluster_slots_ok: usize,
pub cluster_slots_pfail: usize,
pub cluster_slots_fail: usize,
pub cluster_known_nodes: usize,
pub cluster_size: usize,
pub cluster_current_epoch: usize,
pub cluster_my_epoch: u64,
pub cluster_stats_messages_sent: usize,
pub cluster_stats_messages_received: usize,
pub total_cluster_links_buffer_limit_exceeded: usize,
pub cluster_stats_messages_ping_sent: usize,
pub cluster_stats_messages_ping_received: usize,
pub cluster_stats_messages_pong_sent: usize,
pub cluster_stats_messages_pong_received: usize,
pub cluster_stats_messages_meet_sent: usize,
pub cluster_stats_messages_meet_received: usize,
pub cluster_stats_messages_fail_sent: usize,
pub cluster_stats_messages_fail_received: usize,
pub cluster_stats_messages_publish_sent: usize,
pub cluster_stats_messages_publish_received: usize,
pub cluster_stats_messages_auth_req_sent: usize,
pub cluster_stats_messages_auth_req_received: usize,
pub cluster_stats_messages_auth_ack_sent: usize,
pub cluster_stats_messages_auth_ack_received: usize,
pub cluster_stats_messages_update_sent: usize,
pub cluster_stats_messages_update_received: usize,
pub cluster_stats_messages_mfstart_sent: usize,
pub cluster_stats_messages_mfstart_received: usize,
pub cluster_stats_messages_module_sent: usize,
pub cluster_stats_messages_module_received: usize,
pub cluster_stats_messages_publishshard_sent: usize,
pub cluster_stats_messages_publishshard_received: usize,
}
Expand description
Result for the cluster_info
command
Fields§
§cluster_state: ClusterState
State is ok if the node is able to receive queries. fail if there is at least one hash slot which is unbound (no node associated), in error state (node serving it is flagged with FAIL flag), or if the majority of masters can’t be reached by this node.
cluster_slots_assigned: usize
Number of slots which are associated to some node (not unbound). This number should be 16384 for the node to work properly, which means that each hash slot should be mapped to a node.
cluster_slots_ok: usize
Number of hash slots mapping to a node not in FAIL or PFAIL state.
cluster_slots_pfail: usize
Number of hash slots mapping to a node in PFAIL state. Note that those hash slots still work correctly, as long as the PFAIL state is not promoted to FAIL by the failure detection algorithm. PFAIL only means that we are currently not able to talk with the node, but may be just a transient error.
cluster_slots_fail: usize
Number of hash slots mapping to a node in FAIL state. If this number is not zero the node is not able to serve queries unless cluster-require-full-coverage is set to no in the configuration.
cluster_known_nodes: usize
The total number of known nodes in the cluster, including nodes in HANDSHAKE state that may not currently be proper members of the cluster.
cluster_size: usize
The number of master nodes serving at least one hash slot in the cluster.
cluster_current_epoch: usize
The local Current Epoch variable. This is used in order to create unique increasing version numbers during fail overs.
cluster_my_epoch: u64
The Config Epoch of the node we are talking with. This is the current configuration version assigned to this node.
cluster_stats_messages_sent: usize
Number of messages sent via the cluster node-to-node binary bus.
cluster_stats_messages_received: usize
Number of messages received via the cluster node-to-node binary bus.
total_cluster_links_buffer_limit_exceeded: usize
Accumulated count of cluster links freed due to exceeding the cluster-link-sendbuf-limit
configuration.
cluster_stats_messages_ping_sent: usize
Cluster bus PING sent (not to be confused with the client command ping
).
cluster_stats_messages_ping_received: usize
Cluster bus PING received (not to be confused with the client command ping
).
cluster_stats_messages_pong_sent: usize
PONG sent (reply to PING).
cluster_stats_messages_pong_received: usize
PONG received (reply to PING).
cluster_stats_messages_meet_sent: usize
Handshake message sent to a new node, either through gossip or cluster_meet
.
cluster_stats_messages_meet_received: usize
Handshake message sent to a new node, either through gossip or cluster_meet
.
cluster_stats_messages_fail_sent: usize
Mark node xxx as failing.
cluster_stats_messages_fail_received: usize
Mark node xxx as failing.
cluster_stats_messages_publish_sent: usize
Pub/Sub Publish propagation, see Pubsub
.
cluster_stats_messages_publish_received: usize
Pub/Sub Publish propagation, see Pubsub
.
cluster_stats_messages_auth_req_sent: usize
Replica initiated leader election to replace its master.
cluster_stats_messages_auth_req_received: usize
Replica initiated leader election to replace its master.
cluster_stats_messages_auth_ack_sent: usize
Message indicating a vote during leader election.
cluster_stats_messages_auth_ack_received: usize
Message indicating a vote during leader election.
cluster_stats_messages_update_sent: usize
Another node slots configuration.
cluster_stats_messages_update_received: usize
Another node slots configuration.
cluster_stats_messages_mfstart_sent: usize
Pause clients for manual failover.
cluster_stats_messages_mfstart_received: usize
Pause clients for manual failover.
cluster_stats_messages_module_sent: usize
Module cluster API message.
cluster_stats_messages_module_received: usize
Module cluster API message.
cluster_stats_messages_publishshard_sent: usize
Pub/Sub Publish shard propagation, see Sharded Pubsub
.
cluster_stats_messages_publishshard_received: usize
Pub/Sub Publish shard propagation, see Sharded Pubsub
.