Update dict resize policy when aof rewrite process gets killed.

This commit is contained in:
WuYunlong 2019-01-21 17:27:36 +08:00
parent 81008bf99e
commit 3f0c2b1fa2

View File

@ -221,6 +221,8 @@ static void killAppendOnlyChild(void) {
server.aof_rewrite_time_start = -1;
/* Close pipes used for IPC between the two processes. */
aofClosePipes();
updateDictResizePolicy();
}
/* Called when the user switches from "appendonly yes" to "appendonly no"