-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
storage: add nextKeyIgnoringTime() to MVCCIncrementalIterator #83729
Conversation
0b69f89
to
3d4600d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some more test cases to testdata/mvcc_histories/range_key_iter_incremental
, with support for NextKeyIgnoringTime()
in mvcc_histories_test.go
?
Also, please update the PR/commit messages with the correct method name.
Otherwise looks good!
24003fa
to
6a93f0c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
The MVCCInvermentalIterator's NextKeyIgnoringTime() function was previously deleted in cockroachdb#82691, as there wasn't any use for it at the time. Now, the new Delete Range with predicate filtering will need it (cockroachdb#83676). This PR also cleans up duplicate code used to test NextIgnoringTime and NextKeyIgnoringTime. Release note: None
6a93f0c
to
8c9df8a
Compare
TFTR!! bors r=erikgrinaker |
Build failed (retrying...): |
Build succeeded: |
The MVCCInvermentalIterator's NextKeyIgnoringTime() function was previously
deleted in #82691, as there wasn't any use for it at the time. Now, the new
Delete Range with predicate filtering will need it (#83676).
This PR also cleans up duplicate code used to test NextIgnoringTime and
NextKeyIgnoringTime.
Release note: None