mirror of
https://github.com/fluencelabs/redis
synced 2025-03-23 19:10:51 +00:00
Cluster: log the event when we clear the FAIL flag.
This commit is contained in:
parent
97ffcd351b
commit
f288b07563
@ -569,6 +569,9 @@ void clearNodeFailureIfNeeded(clusterNode *node) {
|
||||
if (node->flags & REDIS_NODE_FAIL && !node->numslaves) {
|
||||
node->flags &= ~REDIS_NODE_FAIL;
|
||||
clusterUpdateState();
|
||||
redisLog(REDIS_NOTICE,
|
||||
"Clear FAIL state for node %.40s: is reachable and has no slaves.",
|
||||
node->name);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user