/* Return the current size of the AOF rerwite buffer. */
/* Return the current size of the AOF rewite buffer. */
unsignedlongaofRewriteBufferSize(void){
listNode*ln;
listIterli;
...
...
@@ -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.");
returnREDIS_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