mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-06 06:53:12 +00:00
It is now called `merging_reader`, and is used to change a `FragmentProducer` that produces a non-decreasing stream of mutation fragments batches into a `flat_mutation_reader` producing a non-decreasing stream of fragments. The resulting stream of fragments is increasing except for places where we encounter range tombstones (multiple range tombstones may be produced with the same position_in_partition) `merging_reader` is a simple adapter over `mutation_fragment_merger`. The old `combined_mutation_reader` is simply a specialization of `merging_reader` where the used `FragmentProducer` is `mutation_reader_merger`, an abstraction that merges the output of multiple readers into one non-decreasing stream of fragment batches. There is no separate class for `combined_mutation_reader` now. Instead, `make_combined_reader` works directly with `merging_reader`.
90 KiB
90 KiB