]> git.saurik.com Git - redis.git/commitdiff
Merge branch 'unstable' of github.com:antirez/redis into unstable
authorantirez <antirez@gmail.com>
Tue, 12 Apr 2011 13:36:10 +0000 (15:36 +0200)
committerantirez <antirez@gmail.com>
Tue, 12 Apr 2011 13:36:10 +0000 (15:36 +0200)
src/cluster.c

index 0a580fa75e3268d9979e3397790a973e57e3c5c8..4e3cf74658141494810abe69a4e5997561fd1a4d 100644 (file)
@@ -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