Commit 8d727af8 authored by antirez's avatar antirez
Browse files

update state when FAIL is cleared from a node

parent fd7a584f
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment