From: antirez Date: Fri, 8 Apr 2011 12:19:52 +0000 (+0200) Subject: update state when FAIL is cleared from a node X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/8d727af8c4d309463cd463689b50ffb299b61964?ds=inline;hp=-c update state when FAIL is cleared from a node --- 8d727af8c4d309463cd463689b50ffb299b61964 diff --git a/src/cluster.c b/src/cluster.c index e2b82044..70c34aab 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