mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 11:30:36 +00:00
If make_task call in compaction_manager::perform_compaction yields, compaction_task_executor::_compaction_state may be gone and gate won't be held. Hold gate immediately after compaction_task_executor is created. Add comment not to call prepare_task without preparation. Refs: #14971. Fixes: #14977. Closes #14999