Merge pull request #3830 from oranagra/diskless_capa_pr

several bugfixes to diskless replication
This commit is contained in:
Salvatore Sanfilippo
2019-03-22 17:41:40 +01:00
committed by GitHub
2 changed files with 11 additions and 0 deletions

View File

@ -593,6 +593,7 @@ int startBgsaveForReplication(int mincapa) {
client *slave = ln->value;
if (slave->replstate == SLAVE_STATE_WAIT_BGSAVE_START) {
slave->replstate = REPL_STATE_NONE;
slave->flags &= ~CLIENT_SLAVE;
listDelNode(server.slaves,ln);
addReplyError(slave,