mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-02 14:15:46 +00:00
The new collector parameter is a pointer to a `compaction_garbage_collector` implementation. This collector is passed all atoms that are expired and would be discarded. The body of `compact_and_expire()` was changed so that it checks cells' tombstone coverage before it checks their expiry, so that cells that are both covered by a tombstone and also expired are not passed to the collector. The collector param is optional and defaults to nullptr. To accommodate the collector, which needs to know the column id, a new `column_id` parameter was added as well.