Truncate short write from the AOF #587

Merged
merged 1 commit into from Jul 27, 2012

2 participants

@saj

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.

@saj saj 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.
55302e9
@antirez
Owner

Brillant solution, merging. Thank you.

@antirez antirez merged commit ed7b308 into antirez:unstable Jul 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment