Commit 9e40bce3 authored by antirez's avatar antirez
Browse files

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

parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment