提交 9e40bce3 编写于 作者: A antirez

different message on BGREWRITEAOF when it is just scheduled and not started.

上级 2c6cc5e5
......@@ -619,7 +619,7 @@ void bgrewriteaofCommand(redisClient *c) {
addReplyError(c,"Background append only file rewriting already in progress");
} else if (server.bgsavechildpid != -1) {
server.aofrewrite_scheduled = 1;
addReplyStatus(c,"Background append only file rewriting started");
addReplyStatus(c,"Background append only file rewriting scheduled");
} else if (rewriteAppendOnlyFileBackground() == REDIS_OK) {
addReplyStatus(c,"Background append only file rewriting started");
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册