From 8d727af8c4d309463cd463689b50ffb299b61964 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 8 Apr 2011 14:19:52 +0200 Subject: [PATCH] update state when FAIL is cleared from a node --- src/cluster.c | 1 + 1 file changed, 1 insertion(+) 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