Skip to content

Commit

Permalink
Initialize manual failover replica target (redis#9814)
Browse files Browse the repository at this point in the history
  • Loading branch information
madolson authored Nov 20, 2021
1 parent b567d36 commit 362b3b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 362b3b0

Please sign in to comment.