Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compaction: Disconsider active tables in the hourly compaction reeval…
…uation This hourly reevaluation is there to help tablets that have very low write activity, which can go a long time without flushing a memtable, and it's important to reevaluate compaction as data can get expired. Today it can happen that we reevaluate a table that is being compacted actively, which is waste of cpu as the reevaluation will happen anyway when there are changes to sstable set. This waste can be amplified with a significant tablet count in a given shard. Eventually, we could make the revaluation time per table based on expiration histogram, but until we get there, let's avoid this waste by only reevaluating tables that are compaction idle for more than 1h. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Closes #18280
- Loading branch information