Commit 4beaaff8 authored by antirez's avatar antirez
Browse files

Cluster: remove not needed return statement breaking failover.

parent 35820549
...@@ -2037,7 +2037,6 @@ void clusterHandleSlaveFailover(void) { ...@@ -2037,7 +2037,6 @@ void clusterHandleSlaveFailover(void) {
"Slave rank updated to #%d, added %lld milliseconds of delay.", "Slave rank updated to #%d, added %lld milliseconds of delay.",
newrank, added_delay); newrank, added_delay);
} }
return;
} }
/* Return ASAP if we can't still start the election. */ /* Return ASAP if we can't still start the election. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment