Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
1a73c992
Commit
1a73c992
authored
Feb 10, 2014
by
antirez
Browse files
Cluster: fixed inverted arguments in logging function call.
parent
32563b4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
1a73c992
...
@@ -833,8 +833,8 @@ void clearNodeFailureIfNeeded(clusterNode *node) {
...
@@ -833,8 +833,8 @@ void clearNodeFailureIfNeeded(clusterNode *node) {
if (nodeIsSlave(node) || node->numslots == 0) {
if (nodeIsSlave(node) || node->numslots == 0) {
redisLog(REDIS_NOTICE,
redisLog(REDIS_NOTICE,
"Clear FAIL state for node %.40s: %s is reachable again.",
"Clear FAIL state for node %.40s: %s is reachable again.",
node
IsSlave
(
node
)
?
"slave"
:
"master without slots"
,
node
->name
,
node
->
name
);
node
IsSlave(node) ? "slave" : "master without slots"
);
node->flags &= ~REDIS_NODE_FAIL;
node->flags &= ~REDIS_NODE_FAIL;
clusterDoBeforeSleep(CLUSTER_TODO_UPDATE_STATE|CLUSTER_TODO_SAVE_CONFIG);
clusterDoBeforeSleep(CLUSTER_TODO_UPDATE_STATE|CLUSTER_TODO_SAVE_CONFIG);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment