mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 12:36:56 +00:00
The do_drain() today tells shutdown drain from API drain. The reason is that compaction manager subscribes on the main's abort signal and drains itself early. Thus, on regular drain it needs this extra kick that would crash if called from shutdown drain. This differentiation should sit in the compaction manager itself. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>