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
658aff9d
Commit
658aff9d
authored
Dec 21, 2013
by
antirez
Browse files
Redis Cluster: move node failure reports logging from VERBOSE to NOTICE level.
parent
5a404c87
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
658aff9d
...
@@ -898,14 +898,14 @@ void clusterProcessGossipSection(clusterMsg *hdr, clusterLink *link) {
...
@@ -898,14 +898,14 @@ void clusterProcessGossipSection(clusterMsg *hdr, clusterLink *link) {
{
{
if (flags & (REDIS_NODE_FAIL|REDIS_NODE_PFAIL)) {
if (flags & (REDIS_NODE_FAIL|REDIS_NODE_PFAIL)) {
if (clusterNodeAddFailureReport(node,sender)) {
if (clusterNodeAddFailureReport(node,sender)) {
redisLog(REDIS_
NOTIC
E,
redisLog(REDIS_
VERBOS
E,
"Node %.40s reported node %.40s as not reachable.",
"Node %.40s reported node %.40s as not reachable.",
sender->name, node->name);
sender->name, node->name);
}
}
markNodeAsFailingIfNeeded(node);
markNodeAsFailingIfNeeded(node);
} else {
} else {
if (clusterNodeDelFailureReport(node,sender)) {
if (clusterNodeDelFailureReport(node,sender)) {
redisLog(REDIS_
NOTIC
E,
redisLog(REDIS_
VERBOS
E,
"Node %.40s reported node %.40s is back online.",
"Node %.40s reported node %.40s is back online.",
sender->name, node->name);
sender->name, 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