Commit 1d18f504 authored by antirez's avatar antirez
Browse files

Advertise the existence of redis-check dump --fix when logging an error about corrupted AOF file

parent 0997b411
...@@ -307,7 +307,7 @@ readerr: ...@@ -307,7 +307,7 @@ readerr:
} }
exit(1); exit(1);
fmterr: 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 <filename>");
exit(1); exit(1);
} }
......
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