summaryrefslogtreecommitdiff
path: root/tests/integration/aof.tcl
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-09-16 10:57:40 +0200
committerantirez <antirez@gmail.com>2014-09-16 10:57:40 +0200
commit878c089ec91484b1ae62d098d57cfcc7731031dd (patch)
treefdd5c56ad5c857cade8a9b2508a228ab60ba0ae7 /tests/integration/aof.tcl
parent0ba8fe1a43a624a6e4a4e5698ac7b6616ee5a133 (diff)
downloadredis-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 'tests/integration/aof.tcl')
0 files changed, 0 insertions, 0 deletions