提交 b941417c 编写于 作者: A antirez

Log when the child rewriting the AOF is killed by stopAppendOnly()

上级 1844f990
......@@ -31,6 +31,8 @@ void stopAppendOnly(void) {
if (server.aof_child_pid != -1) {
int statloc;
redisLog(REDIS_NOTICE,"Killing running AOF rewrite child: %ld",
(long) server.aof_child_pid);
if (kill(server.aof_child_pid,SIGKILL) != -1)
wait3(&statloc,0,NULL);
/* reset the buffer accumulating changes while the child saves */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册