summaryrefslogtreecommitdiff
path: root/src/cluster.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-04-08 14:19:52 +0200
committerantirez <antirez@gmail.com>2011-04-08 14:19:52 +0200
commit8d727af8c4d309463cd463689b50ffb299b61964 (patch)
tree4aacb60d890e0199194e65c250385344790309df /src/cluster.c
parentfd7a584f7ab9a796338e3bd6cacf01ce5476bb91 (diff)
downloadredis-8d727af8c4d309463cd463689b50ffb299b61964.tar.gz
update state when FAIL is cleared from a node
Diffstat (limited to 'src/cluster.c')
-rw-r--r--src/cluster.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cluster.c b/src/cluster.c
index e2b820446..70c34aab8 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