修改clusterNode->flags备注

This commit is contained in:
LingZhaoHui 2021-09-29 22:56:42 +08:00
parent 35885d9132
commit 3ed2caa511

View File

@ -112,7 +112,7 @@ typedef struct clusterNodeFailReport {
typedef struct clusterNode {
mstime_t ctime; /* Node object creation time. */
char name[CLUSTER_NAMELEN]; /* Node name, hex string, sha1-size */
int flags; /* CLUSTER_NODE_... */
int flags; /* CLUSTER_NODE_STATUS */
uint64_t configEpoch; /* Last configEpoch observed for this node */
unsigned char slots[CLUSTER_SLOTS/8]; /* slots handled by this node */
int numslots; /* Number of slots handled by this node */