Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
1d18f504
Commit
1d18f504
authored
Sep 14, 2010
by
antirez
Browse files
Advertise the existence of redis-check dump --fix when logging an error about corrupted AOF file
parent
0997b411
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aof.c
View file @
1d18f504
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment