提交 fd7a584f 编写于 作者: A antirez

do not process node failure messages about yourself

上级 a55c7868
......@@ -632,7 +632,8 @@ int clusterProcessPacket(clusterLink *link) {
clusterNode *failing;
failing = clusterLookupNode(hdr->data.fail.about.nodename);
if (failing && !(failing->flags & REDIS_NODE_FAIL)) {
if (failing && !(failing->flags & (REDIS_NODE_FAIL|REDIS_NODE_MYSELF)))
{
redisLog(REDIS_NOTICE,
"FAIL message received from %.40s about %.40s",
hdr->sender, hdr->data.fail.about.nodename);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册