Initialize manual failover replica target (#9814)

This commit is contained in:
Madelyn Olson 2021-11-19 19:56:44 -08:00 committed by GitHub
parent b567d3694c
commit 362b3b02e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -632,6 +632,7 @@ void clusterInit(void) {
deriveAnnouncedPorts(&myself->port, &myself->pport, &myself->cport); deriveAnnouncedPorts(&myself->port, &myself->pport, &myself->cport);
server.cluster->mf_end = 0; server.cluster->mf_end = 0;
server.cluster->mf_slave = NULL;
resetManualFailover(); resetManualFailover();
clusterUpdateMyselfFlags(); clusterUpdateMyselfFlags();
clusterUpdateMyselfIp(); clusterUpdateMyselfIp();