mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
do not process node failure messages about yourself
This commit is contained in:
parent
a55c7868c1
commit
fd7a584f7a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user