mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Don't send SELECT to slaves in WAIT_BGSAVE_START state.
This commit is contained in:
parent
76e0be416d
commit
a5a06a8ecd
@ -201,6 +201,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
|
||||
listRewind(slaves,&li);
|
||||
while((ln = listNext(&li))) {
|
||||
client *slave = ln->value;
|
||||
if (slave->replstate == SLAVE_STATE_WAIT_BGSAVE_START) continue;
|
||||
addReply(slave,selectcmd);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user