mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-06 15:03:06 +00:00
rewrite_sstables() can be asked to stop either on shutdown or on an user-triggered comapction which forces all ongoing compaction to stop, like scrub. turns out we weren't actually bailing out from do_until() when task cannot proceed. So rewrite_sstables() potentially runs into an infinite loop which in turn causes shutdown or something else waiting on it to hang forever. found this while auditting code. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Message-Id: <20211005233601.155442-1-raphaelsc@scylladb.com>