mirror of
https://github.com/fluencelabs/redis
synced 2025-05-16 20:41:19 +00:00
Fix merge issues in 490847c.
This commit is contained in:
parent
490847c681
commit
ce4c17308e
@ -1510,12 +1510,12 @@ int rdbSaveToSlavesSockets(void) {
|
|||||||
* replicationSetupSlaveForFullResync() turned it into BGSAVE_END */
|
* replicationSetupSlaveForFullResync() turned it into BGSAVE_END */
|
||||||
listRewind(server.slaves,&li);
|
listRewind(server.slaves,&li);
|
||||||
while((ln = listNext(&li))) {
|
while((ln = listNext(&li))) {
|
||||||
client *slave = ln->value;
|
redisClient *slave = ln->value;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
for (j = 0; j < numfds; j++) {
|
for (j = 0; j < numfds; j++) {
|
||||||
if (slave->id == clientids[j]) {
|
if (slave->id == clientids[j]) {
|
||||||
slave->replstate = SLAVE_STATE_WAIT_BGSAVE_START;
|
slave->replstate = REDIS_REPL_WAIT_BGSAVE_START;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user