mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 03:56:42 +00:00
storage_proxy: don't stop after result with no live rows
mutation_result_merger merges results from different shards and stops as soon as a shard returned a short read or memory usage on the merging shard is too high. However, it should never stop unless at least one live rows is in the merged result.
This commit is contained in:
@@ -3586,7 +3586,7 @@ public:
|
||||
_partitions.emplace(key, std::move(partitions));
|
||||
_short_read = partial_result->is_short_read();
|
||||
if (_memory_accounter.update_and_check(partial_result->memory_usage()) && _short_read_allowed) {
|
||||
_short_read = query::short_read::yes;
|
||||
_short_read = _short_read || query::short_read(_row_count > 0);
|
||||
}
|
||||
}
|
||||
reconcilable_result get() && {
|
||||
|
||||
Reference in New Issue
Block a user