diff options
author | antirez <antirez@gmail.com> | 2014-09-16 10:57:40 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-09-16 10:57:40 +0200 |
commit | 878c089ec91484b1ae62d098d57cfcc7731031dd (patch) | |
tree | fdd5c56ad5c857cade8a9b2508a228ab60ba0ae7 /utils | |
parent | 0ba8fe1a43a624a6e4a4e5698ac7b6616ee5a133 (diff) | |
download | redis-878c089ec91484b1ae62d098d57cfcc7731031dd.tar.gz |
Seek at the end of AOF after truncate call.
It is not clear if files open in append only mode will automatically fix
their offset after a truncate(2) operation. This commit makes sure that
we reposition the AOF file descriptor offset at the end of the file
after a truncated AOF is loaded and trimmed to the last valid command.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions