mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Cluster: fixed inverted arguments in logging function call.
This commit is contained in:
parent
32563b4a5f
commit
1a73c992a3
@ -833,8 +833,8 @@ void clearNodeFailureIfNeeded(clusterNode *node) {
|
||||
if (nodeIsSlave(node) || node->numslots == 0) {
|
||||
redisLog(REDIS_NOTICE,
|
||||
"Clear FAIL state for node %.40s: %s is reachable again.",
|
||||
nodeIsSlave(node) ? "slave" : "master without slots",
|
||||
node->name);
|
||||
node->name,
|
||||
nodeIsSlave(node) ? "slave" : "master without slots");
|
||||
node->flags &= ~REDIS_NODE_FAIL;
|
||||
clusterDoBeforeSleep(CLUSTER_TODO_UPDATE_STATE|CLUSTER_TODO_SAVE_CONFIG);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user