-
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): use STATE_CLEAN and TTL as default compaction_filter_mask #3482
Conversation
8c2b786
to
298331c
Compare
Codecov Report
@@ Coverage Diff @@
## main #3482 +/- ##
=======================================
Coverage 74.44% 74.44%
=======================================
Files 768 768
Lines 107557 107557
=======================================
Hits 80073 80073
Misses 27484 27484
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 |
Self { | ||
ttl: table_option.ttl, | ||
} | ||
let ttl = if table_option.ttl == 0 { |
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.
Use a const instead of 0
.
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.
fix it with a constant value
i gonna unifty the constant value define in other pr (in constant::hummock mod)
298331c
to
e9b4fdd
Compare
I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
as title
Checklist
[ ] I have written necessary docs and comments[ ] I have added necessary unit tests and integration testsRefer to a related PR or issue link (optional)