]> git.saurik.com Git - redis.git/commit
Truncate short write from the AOF
authorSaj Goonatilleke <sg@redu.cx>
Mon, 16 Jul 2012 05:33:25 +0000 (15:33 +1000)
committerSaj Goonatilleke <sg@redu.cx>
Wed, 18 Jul 2012 00:35:17 +0000 (10:35 +1000)
commit55302e9e285d13ae5eda021420d1a3ea6ca21afc
tree0544222ad6a85973bbc560e2fa2ffbf60fd3e657
parenta2db8e4801968c5a5a163390aec17027810bae38
Truncate short write from the AOF

If Redis only manages to write out a partial buffer, the AOF file won't
load back into Redis the next time it starts up.  It is better to
discard the short write than waste time running redis-check-aof.
src/aof.c