Commit fd7a584f authored by antirez's avatar antirez
Browse files

do not process node failure messages about yourself

parent a55c7868
...@@ -632,7 +632,8 @@ int clusterProcessPacket(clusterLink *link) { ...@@ -632,7 +632,8 @@ int clusterProcessPacket(clusterLink *link) {
clusterNode *failing; clusterNode *failing;
failing = clusterLookupNode(hdr->data.fail.about.nodename); 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, redisLog(REDIS_NOTICE,
"FAIL message received from %.40s about %.40s", "FAIL message received from %.40s about %.40s",
hdr->sender, hdr->data.fail.about.nodename); hdr->sender, hdr->data.fail.about.nodename);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment