Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compaction: Enable filtering reader only on behalf of cleanup compaction
After 13fa2be, every compaction will be performed through a filtering reader because consumers cannot do the filtering if interposer consumer is enabled. It turns out that filtering_reader is adding significant overhead when regular compactions are running. As no other compaction type need to actually do any filtering, let's limit filtering_reader to cleanup compaction. Alternatively, we could disable interposer consumer on behalf of cleanup, or add support for the consumers to do the filtering themselves but that would add lots of complexity. Fixes #7748. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Message-Id: <20201230194516.848347-2-raphaelsc@scylladb.com>
- Loading branch information