]> git.saurik.com Git - redis.git/blobdiff - src/aof.c
If a Lua script executes for more time than the max time specified in the configurati...
[redis.git] / src / aof.c
index 2a2be8961a37f16d76777fff873f828ecbda0cad..66516f7879b267a86ea8bd575563b10137cacd5a 100644 (file)
--- a/src/aof.c
+++ b/src/aof.c
@@ -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