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
Add check conditions before compaction filter in RawKV GC #12938
Conversation
Signed-off-by: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Signed-off-by: ystaticy <y_static_y@sina.com>
5ae17d8
to
fb73a04
Compare
Signed-off-by: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
/run-test |
Signed-off-by: ystaticy <y_static_y@sina.com>
/run-test |
Signed-off-by: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
…o rawkv_table_properties
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: ystaticy <y_static_y@sina.com>
Signed-off-by: ystaticy <y_static_y@sina.com>
@@ -678,7 +678,7 @@ fn do_check_allowed(enable: bool, skip_vcheck: bool, feature_gate: &FeatureGate) | |||
enable && (skip_vcheck || feature_gate.can_enable(COMPACTION_FILTER_GC_FEATURE)) | |||
} | |||
|
|||
fn check_need_gc( | |||
pub fn check_need_gc( |
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.
There're two check_need_gc
methods in the gc_worker
mod, as this check_need_gc
would be used by both the txn and the raw KV, it's better to distinguish their names and usages in comments. Maybe the refactor could be done in later PRs.
/hold |
Hold until v6.3.0 code freeze. |
/release |
/unhold |
/merge |
@pingyu: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 647c8df
|
@ystaticy Hi~ Why did this PR add is_bottomost_level limitations, can you explain your original intention to me ?
to
|
What is changed and how it works?
Issue Number: Close #12935
What's Changed:
Check List
Tests
Release note