X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/8c4c50906cc91d8dffbb22cb4a520d11a1c6344b..271f08784264e25c3dbcd751f8c9ee1b1ad8306e:/src/cluster.c diff --git a/src/cluster.c b/src/cluster.c index 0a580fa7..d7e76ed4 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -943,6 +943,7 @@ void clusterCron(void) { node->flags &= ~REDIS_NODE_PFAIL; } else if (node->flags & REDIS_NODE_FAIL && !node->numslaves) { node->flags &= ~REDIS_NODE_FAIL; + clusterUpdateState(); } } else { /* Timeout reached. Set the noad se possibly failing if it is @@ -993,7 +994,6 @@ int clusterNodeGetSlotBit(clusterNode *n, int slot) { int clusterAddSlot(clusterNode *n, int slot) { redisAssert(clusterNodeSetSlotBit(n,slot) == 0); server.cluster.slots[slot] = n; - printf("SLOT %d added to %.40s\n", slot, n->name); return REDIS_OK; }