diff options
author | antirez <antirez@gmail.com> | 2015-08-05 13:58:56 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-08-05 14:00:25 +0200 |
commit | 6da198cdf106b46047b07730c9633ae0d5c0ddb7 (patch) | |
tree | e82db5f2ecd544c3efff86924efd4a026589d2c6 | |
parent | 39994c24935ffd657a5ac34406737ce8ea88c108 (diff) | |
download | redis-6da198cdf106b46047b07730c9633ae0d5c0ddb7.tar.gz |
Remove slave state change handled by replicationSetupSlaveForFullResync().
-rw-r--r-- | src/rdb.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1420,7 +1420,6 @@ int rdbSaveToSlavesSockets(void) { if (slave->replstate == REDIS_REPL_WAIT_BGSAVE_START) { clientids[numfds] = slave->id; fds[numfds++] = slave->fd; - slave->replstate = REDIS_REPL_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 |