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-2.1: c-deps: bump rocksdb to pick up iterator fix #37694

Merged
merged 1 commit into from
May 21, 2019

Conversation

ajkr
Copy link
Contributor

@ajkr ajkr commented May 21, 2019

The bug caused us to miss a key if the scan was second or later in a
batch of scans, the previous scan had gone past its upper bound, and the
scan's target key landed in the gap between two files bridged by a range
tombstone. There may be other cases this fixes with using an iterator to
scan backwards after using it to scan forwards, though we haven't
observed those cases.

PR this picks up: cockroachdb/rocksdb#31

Fixes #37516.

Release note: Fixed possible row missing from queries that involved
iterator reuse and seeking into the gap between sstables bridged by a
range tombstone.

The bug caused us to miss a key if the scan was second or later in a
batch of scans, the previous scan had gone past its upper bound, and the
scan's target key landed in the gap between two files bridged by a range
tombstone. There may be other cases this fixes with using an iterator to
scan backwards after using it to scan forwards, though we haven't
observed those cases.

Release note: Fixed possible row missing from queries that involved
iterator reuse and seeking into the gap between sstables bridged by a
range tombstone.
@ajkr ajkr requested a review from a team May 21, 2019 17:30
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajkr ajkr requested review from bdarnell and petermattis May 21, 2019 17:33
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.

None yet

3 participants