cluster.c remove if of clusterSendFail in markNodeAsFailingIfNeeded
(cherry picked from commit 009a2d443a92f30e0f45ade08ce6fea275a5d71f)
This commit is contained in:
parent
cb06a48ef3
commit
09e960ff62
@ -1255,7 +1255,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) {
|
|||||||
|
|
||||||
/* Broadcast the failing node name to everybody, forcing all the other
|
/* Broadcast the failing node name to everybody, forcing all the other
|
||||||
* reachable nodes to flag the node as FAIL. */
|
* 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);
|
clusterDoBeforeSleep(CLUSTER_TODO_UPDATE_STATE|CLUSTER_TODO_SAVE_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user