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
9a04e12c
Commit
9a04e12c
authored
Feb 20, 2013
by
antirez
Browse files
Cluster: I/O errors are now logged at DEBUG level.
parent
917dd532
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
9a04e12c
...
...
@@ -740,7 +740,7 @@ void clusterWriteHandler(aeEventLoop *el, int fd, void *privdata, int mask) {
nwritten = write(fd, link->sndbuf, sdslen(link->sndbuf));
if (nwritten <= 0) {
redisLog
(
REDIS_
NOTICE
,
"I/O error writing to node link: %s"
,
redisLog(REDIS_
DEBUG
,"I/O error writing to node link: %s",
strerror(errno));
handleLinkIOError(link);
return;
...
...
@@ -788,7 +788,7 @@ again:
if (nread <= 0) {
/* I/O error... */
redisLog
(
REDIS_
NOTICE
,
"I/O error reading from node link: %s"
,
redisLog(REDIS_
DEBUG
,"I/O error reading from node link: %s",
(nread == 0) ? "connection closed" : strerror(errno));
handleLinkIOError(link);
return;
...
...
@@ -1032,7 +1032,7 @@ void clusterCron(void) {
* normal PING packets. */
node->flags &= ~REDIS_NODE_MEET;
redisLog
(
REDIS_
NOTICE
,
"Connecting with Node %.40s at %s:%d"
,
node
->
name
,
node
->
ip
,
node
->
port
+
REDIS_CLUSTER_PORT_INCR
);
redisLog(REDIS_
DEBUG
,"Connecting with Node %.40s at %s:%d", node->name, node->ip, node->port+REDIS_CLUSTER_PORT_INCR);
}
}
dictReleaseIterator(di);
...
...
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