mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Remove slave state change handled by replicationSetupSlaveForFullResync().
This commit is contained in:
parent
15de6b108b
commit
54ece2c583
@ -1571,7 +1571,6 @@ int rdbSaveToSlavesSockets(void) {
|
||||
if (slave->replstate == SLAVE_STATE_WAIT_BGSAVE_START) {
|
||||
clientids[numfds] = slave->id;
|
||||
fds[numfds++] = slave->fd;
|
||||
slave->replstate = SLAVE_STATE_WAIT_BGSAVE_END;
|
||||
replicationSetupSlaveForFullResync(slave,getPsyncInitialOffset());
|
||||
/* Put the socket in non-blocking mode to simplify RDB transfer.
|
||||
* We'll restore it when the children returns (since duped socket
|
||||
|
Loading…
x
Reference in New Issue
Block a user