update state when FAIL is cleared from a node

This commit is contained in:
antirez 2011-04-08 14:19:52 +02:00
parent fd7a584f7a
commit 8d727af8c4

View File

@ -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