mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Cluster: I/O errors are now logged at DEBUG level.
This commit is contained in:
parent
917dd53216
commit
9a04e12cc0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user