-
Notifications
You must be signed in to change notification settings - Fork 525
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
feat(storage): prefix & range utils #3217
Conversation
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Codecov Report
@@ Coverage Diff @@
## main #3217 +/- ##
==========================================
+ Coverage 73.52% 73.54% +0.02%
==========================================
Files 744 745 +1
Lines 101452 101606 +154
==========================================
+ Hits 74590 74725 +135
- Misses 26862 26881 +19
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
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.
LGTM!
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
What's changed and what's your intention?
This PR introduces
range_of_prefix
andprefixed_range
utilities to avoid misusingnext_key
, and also refactors several usages in the relational table.Checklist
./risedev check
(or alias,./risedev c
)Refer to a related PR or issue link (optional)
next_key
is empty #3215