mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 01:50:35 +00:00
Let's major compact the smallest tables first, increasing chances of success if low on disk space. parallel_for_each() didn't have any effect on space requirement as compaction_manager serializes major compaction in a shard. As parallel_for_each() is no longer used, find_column_family() is now used before each compact_all_sstables() to avoid a race with table drop. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Message-Id: <20211005135257.31931-1-raphaelsc@scylladb.com>