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

[Backport 5.2] : compaction: improve partition estimates when using garbage collected sstables #18659

Closed

Conversation

lkshminarayanan
Copy link
Member

When a compaction strategy uses garbage collected sstables to track expired tombstones, do not use complete partition estimates for them, instead, use a fraction of it based on the droppable tombstone ratio estimate.

Fixes #18283

Signed-off-by: Lakshmi Narayanan Sreethar lakshmi.sreethar@scylladb.com

Closes #18465

(cherry picked from commit d39adf6)

When a compaction strategy uses garbage collected sstables to track
expired tombstones, do not use complete partition estimates for them,
instead, use a fraction of it based on the droppable tombstone ratio
estimate.

Fixes scylladb#18283

Signed-off-by: Lakshmi Narayanan Sreethar <lakshmi.sreethar@scylladb.com>

Closes scylladb#18465

(cherry picked from commit d39adf6)
@scylladb-promoter
Copy link
Contributor

denesb pushed a commit that referenced this pull request May 14, 2024
When a compaction strategy uses garbage collected sstables to track
expired tombstones, do not use complete partition estimates for them,
instead, use a fraction of it based on the droppable tombstone ratio
estimate.

Fixes #18283

Signed-off-by: Lakshmi Narayanan Sreethar <lakshmi.sreethar@scylladb.com>

Closes #18465

(cherry picked from commit d39adf6)

Closes #18659
@denesb
Copy link
Contributor

denesb commented May 14, 2024

Queued.

@mykaul
Copy link
Contributor

mykaul commented May 19, 2024

62338d3

@mykaul mykaul closed this May 19, 2024
@lkshminarayanan lkshminarayanan deleted the compaction-gc-5.2 branch May 21, 2024 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants