From 1d18f50458d2d31122cd0309f554b2443d076f7c Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 14 Sep 2010 15:09:37 +0200 Subject: [PATCH] Advertise the existence of redis-check dump --fix when logging an error about corrupted AOF file --- src/aof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aof.c b/src/aof.c index 8f2dc96f3..ce4cc1917 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); }