From ff0b0f106e9d4cb759da0bda77bbc32ea7aa6336 Mon Sep 17 00:00:00 2001 From: WuYunlong Date: Mon, 21 Jan 2019 17:27:36 +0800 Subject: [PATCH] Update dict resize policy when aof rewrite process gets killed. --- src/aof.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aof.c b/src/aof.c index 9723fc333..500e0c936 100644 --- a/src/aof.c +++ b/src/aof.c @@ -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"