mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
update state when FAIL is cleared from a node
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user