-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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/engine: rename Iterator.{Seek,SeekReverse} to {SeekGE,SeekLT} #42390
storage/engine: rename Iterator.{Seek,SeekReverse} to {SeekGE,SeekLT} #42390
Conversation
This addresses a comment from cockroachdb#42210. The commit also adjusts the reverse seek (now SeekLT) to be exclusive instead of inclusive. This matches the API exposed by Pebble and eliminates the need for the bug fix in 79b4c77.
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.
The change mostly looks rote. Besides the spanset.Iterator
note, was there anything worth special attention here.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @petermattis)
The only other parts to pay attention to are:
bors r=petermattis |
42390: storage/engine: rename Iterator.{Seek,SeekReverse} to {SeekGE,SeekLT} r=petermattis a=nvanbenschoten This addresses a comment from #42210. The commit also adjusts the reverse seek (now SeekLT) to be exclusive instead of inclusive. This matches the API exposed by Pebble and eliminates the need for the bug fix in 79b4c77. Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
This is the sole use of |
Build succeeded |
I don't have strong feelings about this. It's nice to have access to |
This addresses a comment from #42210.
The commit also adjusts the reverse seek (now SeekLT) to be exclusive instead of
inclusive. This matches the API exposed by Pebble and eliminates the need for
the bug fix in 79b4c77.