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
f288b075
Commit
f288b075
authored
Feb 26, 2013
by
antirez
Browse files
Cluster: log the event when we clear the FAIL flag.
parent
97ffcd35
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
f288b075
...
...
@@ -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);
}
}
...
...
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