mirror of
https://github.com/fluencelabs/redis
synced 2025-05-25 16:31:19 +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
8be8780d4a
commit
1584c7a31b
@ -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