cluster.c remove if of clusterSendFail in markNodeAsFailingIfNeeded

(cherry picked from commit c92464db694172dac8b0f9eeedd366c494d6db8a)
This commit is contained in:
root 2020-06-15 10:18:14 +08:00 committed by Oran Agra
parent 51e178454d
commit 8095daea4a

View File

@ -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);
}