mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
Cluster: log error when anetTcpNonBlockBindConnect() fails.
This commit is contained in:
parent
3b0edb80ec
commit
3e8a92ef8d
@ -2411,8 +2411,9 @@ void clusterCron(void) {
|
|||||||
node->port+REDIS_CLUSTER_PORT_INCR, server.bindaddr[0]);
|
node->port+REDIS_CLUSTER_PORT_INCR, server.bindaddr[0]);
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
redisLog(REDIS_DEBUG, "Unable to connect to "
|
redisLog(REDIS_DEBUG, "Unable to connect to "
|
||||||
"Cluster Client [%s]:%d", node->ip,
|
"Cluster Node [%s]:%d -> %s", node->ip,
|
||||||
node->port+REDIS_CLUSTER_PORT_INCR);
|
node->port+REDIS_CLUSTER_PORT_INCR,
|
||||||
|
server.neterr);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
link = createClusterLink(node);
|
link = createClusterLink(node);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user