Commit 3f0c2b1f authored by WuYunlong's avatar WuYunlong
Browse files

Update dict resize policy when aof rewrite process gets killed.

parent 81008bf9
...@@ -221,6 +221,8 @@ static void killAppendOnlyChild(void) { ...@@ -221,6 +221,8 @@ static void killAppendOnlyChild(void) {
server.aof_rewrite_time_start = -1; server.aof_rewrite_time_start = -1;
/* Close pipes used for IPC between the two processes. */ /* Close pipes used for IPC between the two processes. */
aofClosePipes(); aofClosePipes();
updateDictResizePolicy();
} }
/* Called when the user switches from "appendonly yes" to "appendonly no" /* Called when the user switches from "appendonly yes" to "appendonly no"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment