Fix wrong repldboff type which causes dropped replication in rare cases. #847

Merged
merged 1 commit into from Dec 11, 2013

Projects

None yet

2 participants

@yossigo

Having a 'long' offset to an 'off_t' sized data block is wrong when size is greater than 2GB and less than 4GB, on a 32-bit process. This results with replication being interrupted after transferring the first 2GB.

@antirez antirez merged commit ce7588c into antirez:2.6 Dec 11, 2013
@antirez
Owner

Thanks! Merged.

@yossigo yossigo deleted the yossigo:repldboff-fix branch Dec 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment