sstable_set: update make_local_shard_sstable_reader() to flat_mutation_reader_v2

Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
This commit is contained in:
Raphael S. Carvalho
2021-12-03 10:20:22 -03:00
parent 6b664067dd
commit c3c070a5ca
5 changed files with 14 additions and 14 deletions

View File

@@ -1521,7 +1521,7 @@ future<> view_builder::initialize_reader_at_current_token(build_step& step) {
return step.reader.close().then([this, &step] {
step.pslice = make_partition_slice(*step.base->schema());
step.prange = dht::partition_range(dht::ring_position::starting_at(step.current_token()), dht::ring_position::max());
step.reader = step.base->get_sstable_set().make_local_shard_sstable_reader(
step.reader = downgrade_to_v1(step.base->get_sstable_set().make_local_shard_sstable_reader(
step.base->schema(),
_permit,
step.prange,
@@ -1529,7 +1529,7 @@ future<> view_builder::initialize_reader_at_current_token(build_step& step) {
default_priority_class(),
nullptr,
streamed_mutation::forwarding::no,
mutation_reader::forwarding::no);
mutation_reader::forwarding::no));
});
}