Skip to content

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

Merged
antirez merged 1 commit intoredis:2.6from
yossigo:repldboff-fix
Dec 11, 2013
Merged

Fix wrong repldboff type which causes dropped replication in rare cases.#847
antirez merged 1 commit intoredis:2.6from
yossigo:repldboff-fix

Conversation

@yossigo
Copy link
Collaborator

@yossigo yossigo commented Dec 24, 2012

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 added a commit that referenced this pull request Dec 11, 2013
Fix wrong repldboff type which causes dropped replication in rare cases.
@antirez antirez merged commit ce7588c into redis:2.6 Dec 11, 2013
@antirez
Copy link
Contributor

antirez commented Dec 11, 2013

Thanks! Merged.

@yossigo yossigo deleted the repldboff-fix branch December 11, 2013 11:32
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Aug 29, 2016
Fix wrong repldboff type which causes dropped replication in rare cases.
sundb pushed a commit to sundb/redis that referenced this pull request Jul 28, 2025
…y allowed on primary (redis#847)

Added an assertion to avoid incorrect usage of the network bytes out for
replication code flow in slot stats computation.

Signed-off-by: Harkrishn Patro <[email protected]>
minchopaskal pushed a commit to minchopaskal/redis that referenced this pull request Oct 16, 2025
minor follow-ups for XXH3 specification (redis#750)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants