提交 0841cc92 编写于 作者: A antirez

fflush VM swap file after object swapping

上级 87eaf97f
......@@ -6943,6 +6943,7 @@ static int vmSwapObject(robj *key, robj *val) {
(unsigned long long) page, (unsigned long long) pages);
server.vm_stats_swapped_objects++;
server.vm_stats_swapouts++;
fflush(server.vm_fp);
return REDIS_OK;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册