diff options
author | antirez <antirez@gmail.com> | 2011-04-08 14:19:52 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-04-08 14:19:52 +0200 |
commit | 8d727af8c4d309463cd463689b50ffb299b61964 (patch) | |
tree | 4aacb60d890e0199194e65c250385344790309df /src/cluster.c | |
parent | fd7a584f7ab9a796338e3bd6cacf01ce5476bb91 (diff) | |
download | redis-8d727af8c4d309463cd463689b50ffb299b61964.tar.gz |
update state when FAIL is cleared from a node
Diffstat (limited to 'src/cluster.c')
-rw-r--r-- | src/cluster.c | 1 |
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 |