Skip to content
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

release/v1.2: Cherry-pick commits to enable and fix posting-list splits. #4742

Merged
merged 3 commits into from
Feb 6, 2020

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Feb 6, 2020

Fixes #4733.


This change is Reviewable

danielmai and others added 3 commits February 6, 2020 08:25
This PR changes ReadPostingList to skip over the parts of a multi-part list so that
they are not accessed the next time ReadPostingList is called. A multi-part posting
list should only be accessed via the main key. Accessing the posting list via one of
the other keys was causing issues during rollup and adding spurious keys to the
database, which eventually caused reads to return nil in the Jepsen uid-set test.
Copy link
Contributor

@martinmr martinmr left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, 2 of 2 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

@danielmai danielmai merged commit 0450636 into release/v1.2 Feb 6, 2020
@danielmai danielmai deleted the danielmai/v1.2-splits branch February 6, 2020 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants