New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate short write from the AOF #587

Merged
merged 1 commit into from Jul 27, 2012

Conversation

Projects
None yet
2 participants
@saj
Contributor

saj commented Jul 18, 2012

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.

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.
@antirez

This comment has been minimized.

Show comment
Hide comment
@antirez

antirez Jul 27, 2012

Owner

Brillant solution, merging. Thank you.

Owner

antirez commented Jul 27, 2012

Brillant solution, merging. Thank you.

antirez added a commit that referenced this pull request Jul 27, 2012

@antirez antirez merged commit ed7b308 into antirez:unstable Jul 27, 2012

Hailei pushed a commit to Hailei/redis that referenced this pull request Aug 29, 2014

Merge pull request #587 from xetorthio/null-check
add a number of null check to return methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment