Skip to content
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

quincy: kv/RocksDBStore: Add CompactOnDeletion support #50893

Merged
merged 1 commit into from May 22, 2023

Conversation

cfsnyder
Copy link
Contributor

@cfsnyder cfsnyder commented Apr 5, 2023

This commit adds support to compact column families when a certain number
of tombstone entries have been observed within a certain sliding window
during iteration.  It only helps when itereating over entries already in
SST files and not when iterating over ranges in memtables.

Likely we will still need to provide a mechanism to flush memtables and
compact column families once a certain number of rmkey or rm_range_key
calls are made.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
(cherry picked from commit fba5488)
@cfsnyder cfsnyder requested a review from markhpc April 5, 2023 19:06
@cfsnyder cfsnyder requested a review from a team as a code owner April 5, 2023 19:06
@github-actions github-actions bot added this to the quincy milestone Apr 5, 2023
@cfsnyder
Copy link
Contributor Author

cfsnyder commented Apr 5, 2023

@markhpc we'd like to see this backported since it can be very useful in sticky situations, but I'm wondering if you think we should disable this by default on the stable branches or not?

@ljflores
Copy link
Contributor

@yuriw yuriw merged commit a2e3427 into ceph:quincy May 22, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants