-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
storage: add cluster setting delete_compaction_excise.enabled #132870
storage: add cluster setting delete_compaction_excise.enabled #132870
Conversation
Changes: * [`1d2e9e82`](cockroachdb/pebble@1d2e9e82) options: add EnableDeleteOnlyCompactionExcises Option Release note: none. Epic: none.
It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR? 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
"set to false to direct Pebble to not partially excise sstables in delete-only compactions", | ||
metamorphic.ConstantWithTestBool( | ||
"storage.delete_compaction_excise.enabled", true), /* defaultValue */ | ||
settings.WithPublic) |
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.
Driveby: should this be a public setting?
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.
I think there's a good argument for it to go either way. For now I just copied the same visibility as some of the other compaction-y settings like ingest_split.enabled above.a
2904c94
to
8dc3169
Compare
This change adds a cluster setting to be able to dynamically disable excises in delete-only compactions. Excises allow for range deletions / range key deletions to be applied to sstables even if they don't fully overlap with the sstable; we just produce virtual sstables for the remainder of the sstable. Epic: none Release note: None
8dc3169
to
75fb9ef
Compare
TFTR! bors r=aadityasondhi |
This change adds a cluster setting to be able to dynamically
disable excises in delete-only compactions. Excises allow
for range deletions / range key deletions to be applied to
sstables even if they don't fully overlap with the sstable;
we just produce virtual sstables for the remainder of the sstable.
Epic: none
Release note: None