diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/replication.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/replication.c b/src/replication.c index 2b21b02d8..4e734fa51 100644 --- a/src/replication.c +++ b/src/replication.c @@ -2547,11 +2547,7 @@ void replicationUnsetMaster(void) { /* When a slave is turned into a master, the current replication ID * (that was inherited from the master at synchronization time) is * used as secondary ID up to the current offset, and a new replication - * ID is created to continue with a new replication history. - * - * NOTE: this function MUST be called after we call - * freeClient(server.master), since there we adjust the replication - * offset trimming the final PINGs. See Github issue #7320. */ + * ID is created to continue with a new replication history. */ shiftReplicationId(); /* Disconnecting all the slaves is required: we need to inform slaves * of the replication ID change (see shiftReplicationId() call). However |