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
2c3301b9
Commit
2c3301b9
authored
Oct 07, 2013
by
antirez
Browse files
Cluster: log message improved when FAIL is cleared from a slave node.
parent
72f38cd7
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
2c3301b9
...
@@ -681,7 +681,7 @@ void clearNodeFailureIfNeeded(clusterNode *node) {
...
@@ -681,7 +681,7 @@ void clearNodeFailureIfNeeded(clusterNode *node) {
* node again. */
* node again. */
if
(
node
->
flags
&
REDIS_NODE_SLAVE
)
{
if
(
node
->
flags
&
REDIS_NODE_SLAVE
)
{
redisLog
(
REDIS_NOTICE
,
redisLog
(
REDIS_NOTICE
,
"Clear FAIL state for node %.40s: slave is
already
reachable."
,
"Clear FAIL state for node %.40s: slave is reachable
again
."
,
node
->
name
);
node
->
name
);
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