mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-21 23:32:15 +00:00
scrub_compaction assumes that `make_interposer_consumer()` is called only when `use_interposer_consumer()` returns true. This is false, so in effect scrub always ends up using the segregating interposer. Fix this by short-circuiting the former method when the latter returns true, returning the passed-in consumer unchanged. Tests: unit(dev) Fixes #9541 Closes #9564