mutation_reader: mutation_fragment_merger: close underlying producer

This will be needed by the merging_reader.

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
Benny Halevy
2021-01-27 00:34:59 +02:00
parent 761a38ce21
commit dccdbdff95

View File

@@ -144,6 +144,10 @@ public:
future<> fast_forward_to(position_range pr, db::timeout_clock::time_point timeout) {
return _producer.fast_forward_to(std::move(pr), timeout);
}
future<> close() noexcept {
return _producer.close();
}
};
// Merges the output of the sub-readers into a single non-decreasing