mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Clear the AOF rewrite scheduled flag once an AOF rewrite is triggered. Fix for issue #161, probably fixing 159 as well.
This commit is contained in:
parent
e089e61019
commit
b508aeb994
@ -683,6 +683,7 @@ int rewriteAppendOnlyFileBackground(void) {
|
||||
}
|
||||
redisLog(REDIS_NOTICE,
|
||||
"Background append only file rewriting started by pid %d",childpid);
|
||||
server.aofrewrite_scheduled = 0;
|
||||
server.bgrewritechildpid = childpid;
|
||||
updateDictResizePolicy();
|
||||
/* We set appendseldb to -1 in order to force the next call to the
|
||||
|
Loading…
x
Reference in New Issue
Block a user