Commit 6274a678 authored by antirez's avatar antirez
Browse files

Cluster: initialize mf_end.

Can't be initialized by resetManualFailover() since it's actual state
the function uses, so we need to initialize it at startup time. Not
really a bug in practical terms, but showed up into valgrind and is not
technically correct anyway.
parent 0d22121c
...@@ -479,6 +479,7 @@ void clusterInit(void) { ...@@ -479,6 +479,7 @@ void clusterInit(void) {
* the IP address via MEET messages. */ * the IP address via MEET messages. */
myself->port = server.port; myself->port = server.port;
server.cluster->mf_end = 0;
resetManualFailover(); resetManualFailover();
} }
......
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