mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
Cluster: basic data structures for nodes black list.
This commit is contained in:
@ -260,6 +260,8 @@ void clusterInit(void) {
|
||||
server.cluster->state = REDIS_CLUSTER_FAIL;
|
||||
server.cluster->size = 1;
|
||||
server.cluster->nodes = dictCreate(&clusterNodesDictType,NULL);
|
||||
server.cluster->nodes_black_list =
|
||||
dictCreate(&clusterNodesBlackListDictType,NULL);
|
||||
server.cluster->failover_auth_time = 0;
|
||||
server.cluster->failover_auth_count = 0;
|
||||
server.cluster->failover_auth_epoch = 0;
|
||||
|
Reference in New Issue
Block a user