/* Return the current size of the AOF rerwite buffer. */
/* Return the current size of the AOF rewite buffer. */
unsigned long aofRewriteBufferSize(void) {
unsigned long aofRewriteBufferSize(void) {
listNode *ln;
listNode *ln;
listIter li;
listIter li;
...
@@ -245,7 +245,7 @@ int startAppendOnly(void) {
...
@@ -245,7 +245,7 @@ int startAppendOnly(void) {
redisLog(REDIS_WARNING,"Redis needs to enable the AOF but can't trigger a background AOF rewrite operation. Check the above logs for more info about the error.");
redisLog(REDIS_WARNING,"Redis needs to enable the AOF but can't trigger a background AOF rewrite operation. Check the above logs for more info about the error.");
return REDIS_ERR;
return REDIS_ERR;
}
}
/* We correctly switched on AOF, now wait for the rerwite to be complete
/* We correctly switched on AOF, now wait for the rewite to be complete