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

commpaction: prioritize virtual sstables for compaction based on size ratios #2892

Closed
itsbilal opened this issue Sep 11, 2023 · 1 comment
Closed

Comments

@itsbilal
Copy link
Member

Currently, virtual sstables aren't specifically prioritized for compaction picking, even if the virtualized proportion of size relative to the underlying backing sstable is low (i.e. most of the physical sstable is unreferenced and can be cleared away if all virtual sstables on it got compacted). We can adjust this by boosting the overlappingBytes count in pickCompactionSeedFile by a factor like f.Size/f.VirtualizedSize (where f = FileMetadata).

@bananabrick
Copy link
Contributor

Duplicate of #2323. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants