mirror of https://mirror.osredm.com/root/redis.git
Initialize manual failover replica target (#9814)
This commit is contained in:
parent
b567d3694c
commit
362b3b02e6
|
@ -632,6 +632,7 @@ void clusterInit(void) {
|
|||
deriveAnnouncedPorts(&myself->port, &myself->pport, &myself->cport);
|
||||
|
||||
server.cluster->mf_end = 0;
|
||||
server.cluster->mf_slave = NULL;
|
||||
resetManualFailover();
|
||||
clusterUpdateMyselfFlags();
|
||||
clusterUpdateMyselfIp();
|
||||
|
|
Loading…
Reference in New Issue