-
Notifications
You must be signed in to change notification settings - Fork 605
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(compaction): support trivial move multi ssts #20284
Conversation
…nto li0k/storage_support_trivial_move_multi_sst
This pull request has been modified. If you want me to regenerate unit test for any of the files related, please find the file in "Files Changed" tab and add a comment |
…nto li0k/storage_support_trivial_move_multi_sst
…nto li0k/storage_support_trivial_move_multi_sst
…nto li0k/storage_support_trivial_move_multi_sst
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
} | ||
|
||
// reset overlap_info | ||
overlap_info.clear(); |
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.
minor: call create_overlap_info
is equivalent to the new method clear
.
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.
create_overlap_info
has an additional box memory allocation overhead, but this is more intuitive. The semantics of clear
are a bit unclean, but both work for me.
…nto li0k/storage_support_trivial_move_multi_sst
…nto li0k/storage_support_trivial_move_multi_sst
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR improves the trival-move picker algorithm to support trivial-move tasks with multiple ssts.
Checklist
Documentation
Release note