Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8095daea
Commit
8095daea
authored
Jun 15, 2020
by
root
Committed by
Oran Agra
Jul 20, 2020
Browse files
cluster.c remove if of clusterSendFail in markNodeAsFailingIfNeeded
(cherry picked from commit
c92464db
)
parent
51e17845
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
8095daea
...
@@ -1255,7 +1255,7 @@ void markNodeAsFailingIfNeeded(clusterNode *node) {
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment