Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@ void replicationSetMaster(char *ip, int port) {
server.repl_down_since = 0;

/* split aof after HA */
aofSplit(1, 1);
//aofSplit(1, 1);
}

/* Cancel replication, setting the instance as a master itself. */
Expand Down Expand Up @@ -2001,7 +2001,7 @@ void replicationUnsetMaster(void) {
server.slaveseldb = -1;

/* split aof after HA */
aofSplit(1, 1);
//aofSplit(1, 1);
}

/* This function is called when the slave lose the connection with the
Expand Down