提交 d20dea3e 编写于 作者: A antirez

Cluster: blank node address when flagging it as NOADDR.

上级 2dcb5ab7
......@@ -783,6 +783,8 @@ int clusterProcessPacket(clusterLink *link) {
* address. */
redisLog(REDIS_DEBUG,"PONG contains mismatching sender ID");
link->node->flags |= REDIS_NODE_NOADDR;
link->node->ip[0] = '\0';
link->node->port = 0;
freeClusterLink(link);
update_config = 1;
/* FIXME: remove this node if we already have it.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册