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
8e12fae0
Commit
8e12fae0
authored
Feb 10, 2014
by
antirez
Browse files
Cluster: fixed inverted arguments in logging function call.
parent
6a015457
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
8e12fae0
...
...
@@ -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."
,
node
IsSlave
(
node
)
?
"slave"
:
"master without slots"
,
node
->
name
);
node
->
name
,
node
IsSlave
(
node
)
?
"slave"
:
"master without slots"
);
node
->
flags
&=
~
REDIS_NODE_FAIL
;
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