mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +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;
|
node->flags &= ~REDIS_NODE_PFAIL;
|
||||||
} else if (node->flags & REDIS_NODE_FAIL && !node->numslaves) {
|
} else if (node->flags & REDIS_NODE_FAIL && !node->numslaves) {
|
||||||
node->flags &= ~REDIS_NODE_FAIL;
|
node->flags &= ~REDIS_NODE_FAIL;
|
||||||
|
clusterUpdateState();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* Timeout reached. Set the noad se possibly failing if it is
|
/* Timeout reached. Set the noad se possibly failing if it is
|
||||||
|
Loading…
x
Reference in New Issue
Block a user