mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 11:30:36 +00:00
Task is stopped by closing gate and forcing it to exit via gate exception. The problem is that task->compacting_cf may be set to the column family being compacted, and compaction_manager::remove would see it and try to stop the same task again, which would lead to problems. The fix is to clean task->compacting_cf when stopping task. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Message-Id: <3473e93c1a107a619322769d65fa020529b5501b.1454441286.git.raphaelsc@scylladb.com>