Skip to content

Fix inserting minimum CacheChange_t in GAP message [13671] #2448

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

Merged
merged 2 commits into from
Feb 4, 2022

Conversation

richiware
Copy link
Member

This PR fixes a bug which occurs when the CacheChange_t with minimum sequence number in the Writer's history is irrelevant for a new reader (for example because reader is volatile). This change is not added in the GAP message because of a > instead of a >=.

@richiware richiware changed the title Fix inserting minimum CacheChange_t in GAP message Fix inserting minimum CacheChange_t in GAP message [13671] Jan 31, 2022
Copy link
Member

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a regression test

Signed-off-by: Ricardo González Moreno <[email protected]>
Copy link
Member

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@richiware
Copy link
Member Author

@Mergifyio backport 2.4.x

@mergify
Copy link
Contributor

mergify bot commented Jan 31, 2022

backport 2.4.x

🟠 Waiting for conditions to match

  • merged [:pushpin: backport requirement]

@MiguelCompany MiguelCompany merged commit df8dfde into master Feb 4, 2022
@MiguelCompany MiguelCompany deleted the bugfix/13556 branch February 4, 2022 21:30
mergify bot pushed a commit that referenced this pull request Feb 4, 2022
* Refs #13556. Fix bug when history's min seq is irrelevant

Signed-off-by: Ricardo González Moreno <[email protected]>

* Refs #13556. Add regression test.

Signed-off-by: Ricardo González Moreno <[email protected]>
(cherry picked from commit df8dfde)
@mergify
Copy link
Contributor

mergify bot commented Feb 4, 2022

backport 2.4.x

✅ Backports have been created

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