Cluster: bus messages stats in CLUSTER info.

This commit is contained in:
antirez
2013-10-02 10:10:08 +02:00
parent abe81781ae
commit 6c4d904baf
2 changed files with 11 additions and 1 deletions

View File

@ -654,6 +654,8 @@ typedef struct {
/* The followign fields are uesd by masters to take state on elections. */
uint64_t last_vote_epoch; /* Epoch of the last vote granted. */
int handle_slave_failover_asap; /* Call clusterHandleSlaveFailover() ASAP. */
long long stats_bus_messages_sent; /* Num of msg sent via cluster bus. */
long long stats_bus_messages_received; /* Num of msg received via cluster bus. */
} clusterState;
/* Redis cluster messages header */