From: antirez Date: Fri, 8 Apr 2011 08:17:41 +0000 (+0200) Subject: do not process node failure messages about yourself X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/fd7a584f7ab9a796338e3bd6cacf01ce5476bb91?ds=inline do not process node failure messages about yourself --- diff --git a/src/cluster.c b/src/cluster.c index 0c3b142a..e2b82044 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -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);