mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
update state when FAIL is cleared from a node
This commit is contained in:
parent
fd7a584f7a
commit
8d727af8c4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user