From: antirez Date: Tue, 14 Sep 2010 13:09:37 +0000 (+0200) Subject: Advertise the existence of redis-check dump --fix when logging an error about corrupt... X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/1d18f50458d2d31122cd0309f554b2443d076f7c Advertise the existence of redis-check dump --fix when logging an error about corrupted AOF file --- diff --git a/src/aof.c b/src/aof.c index 8f2dc96f..ce4cc191 100644 --- a/src/aof.c +++ b/src/aof.c @@ -307,7 +307,7 @@ readerr: } exit(1); fmterr: - redisLog(REDIS_WARNING,"Bad file format reading the append only file"); + redisLog(REDIS_WARNING,"Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-dump --fix "); exit(1); }