mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 17:40:50 +00:00
Cluster: blank node address when flagging it as NOADDR.
This commit is contained in:
parent
2dcb5ab72b
commit
d20dea3eb7
@ -783,6 +783,8 @@ int clusterProcessPacket(clusterLink *link) {
|
|||||||
* address. */
|
* address. */
|
||||||
redisLog(REDIS_DEBUG,"PONG contains mismatching sender ID");
|
redisLog(REDIS_DEBUG,"PONG contains mismatching sender ID");
|
||||||
link->node->flags |= REDIS_NODE_NOADDR;
|
link->node->flags |= REDIS_NODE_NOADDR;
|
||||||
|
link->node->ip[0] = '\0';
|
||||||
|
link->node->port = 0;
|
||||||
freeClusterLink(link);
|
freeClusterLink(link);
|
||||||
update_config = 1;
|
update_config = 1;
|
||||||
/* FIXME: remove this node if we already have it.
|
/* FIXME: remove this node if we already have it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user