]> 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)
committerantirez <antirez@gmail.com>
Tue, 31 Jul 2012 08:58:16 +0000 (10:58 +0200)
commit4c0c1fff5a5abebfe903251ab56176b18cfc5688
tree0059dcd011d98e7dcfbd4e79a5e9e5f711eb4108
parentf00b0844c9d825bd19597e214ef8169333684810
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