projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd7a584
)
update state when FAIL is cleared from a node
author
antirez
<antirez@gmail.com>
Fri, 8 Apr 2011 12:19:52 +0000
(14:19 +0200)
committer
antirez
<antirez@gmail.com>
Fri, 8 Apr 2011 12:19:52 +0000
(14:19 +0200)
src/cluster.c
patch
|
blob
|
blame
|
history
diff --git
a/src/cluster.c
b/src/cluster.c
index e2b8204461d7a95cda0f0e4f6f1217c718ad275a..70c34aab884632c134ba587bcae6449e18e8aa79 100644
(file)
--- 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