-
Notifications
You must be signed in to change notification settings - Fork 590
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
fix(storage): fix compactor sst switch condition #13790
Conversation
src/common/src/config.rs
Outdated
/// The spill threshold for mem table. | ||
#[serde(default = "default::storage::mem_table_spill_threshold")] | ||
pub mem_table_spill_threshold: usize, | ||
|
||
#[serde(default)] | ||
pub object_store: ObjectStoreConfig, | ||
|
||
#[serde(default)] | ||
pub compactor: CompactorConfig, |
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.
This seems to be a breaking change. For example, if user defines the config previously via:
[storage]
compactor_max_task_multiplier=4
This config will become invalid and user needs to change it toml to:
[storage.compactor]
compactor_max_task_multiplier=4
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.
revert it
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #13790 +/- ##
=======================================
Coverage 68.23% 68.23%
=======================================
Files 1524 1524
Lines 262203 262210 +7
=======================================
+ Hits 178904 178911 +7
Misses 83299 83299
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
2. refine compactor configrelated to #13773
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.