mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 19:10:42 +00:00
Move run_with_compaction_disabled() into compaction manager run_with_compaction_disabled() living in table is a layer violation as the logic of disabling compaction for a table T clearly belongs to manager and table shouldn't be aware of such implementation details. This makes things less error prone too as there's no longer a need for coordination between table and manager. Manager now takes all the responsibility. * 'move_disable_compaction_to_manager/v6' of https://github.com/raphaelsc/scylla: compaction: move run_with_compaction_disabled() from table into compaction_manager compaction_manager: switch to coroutine in compaction_manager::remove() compaction_manager: add struct for per table compaction state compaction_manager: wire stop_ongoing_compactions() into remove() compaction_manager: introduce stop_ongoing_compactions() for a table compaction_manager: prevent compaction from being postponed when stopping tasks compaction_manager: extract "stop tasks" from stop_ongoing_compactions() into new function