mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
cluster.c remove if of clusterSendFail in markNodeAsFailingIfNeeded
This commit is contained in:
parent
1055398849
commit
c92464db69
@ -1255,7 +1255,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) {
|
||||
|
||||
/* Broadcast the failing node name to everybody, forcing all the other
|
||||
* reachable nodes to flag the node as FAIL. */
|
||||
if (nodeIsMaster(myself)) clusterSendFail(node->name);
|
||||
clusterSendFail(node->name);
|
||||
clusterDoBeforeSleep(CLUSTER_TODO_UPDATE_STATE|CLUSTER_TODO_SAVE_CONFIG);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user