Lines Matching defs:clusterState
108 typedef struct clusterState { struct
109 clusterNode *myself; /* This node */
110 uint64_t currentEpoch;
111 int state; /* CLUSTER_OK, CLUSTER_FAIL, ... */
112 int size; /* Num of master nodes with at least one slot */
113 dict *nodes; /* Hash table of name -> clusterNode structures */
114 dict *nodes_black_list; /* Nodes we don't re-add for a few seconds. */
115 clusterNode *migrating_slots_to[CLUSTER_SLOTS];
116 clusterNode *importing_slots_from[CLUSTER_SLOTS];
117 clusterNode *slots[CLUSTER_SLOTS];
118 zskiplist *slots_to_keys;
142 } clusterState; argument