mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
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.
This commit is contained in:
parent
0d22121c27
commit
6274a6789d
@ -479,6 +479,7 @@ void clusterInit(void) {
|
||||
* the IP address via MEET messages. */
|
||||
myself->port = server.port;
|
||||
|
||||
server.cluster->mf_end = 0;
|
||||
resetManualFailover();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user