Cluster: log error when anetTcpNonBlockBindConnect() fails.

This commit is contained in:
antirez 2014-03-10 10:32:28 +01:00
parent 3119f4f694
commit 9c9914d779

View File

@ -2424,8 +2424,9 @@ void clusterCron(void) {
node->port+REDIS_CLUSTER_PORT_INCR, server.bindaddr[0]);
if (fd == -1) {
redisLog(REDIS_DEBUG, "Unable to connect to "
"Cluster Client [%s]:%d", node->ip,
node->port+REDIS_CLUSTER_PORT_INCR);
"Cluster Node [%s]:%d -> %s", node->ip,
node->port+REDIS_CLUSTER_PORT_INCR,
server.neterr);
continue;
}
link = createClusterLink(node);