service/storage_proxy: Remove out of date comment

Now that we don't go directly to reconciliation for range queries, the
result isn't required to have the row and partition counts calculated
(we no longer transform a reconciled_result to a query::result).

Furthermore, this line was causing a lot of dtests to fail on account
of them not expecting an error line in the logs.

Signed-off-by: Duarte Nunes <duarte@scylladb.com>
Message-Id: <20170810225351.12610-1-duarte@scylladb.com>
This commit is contained in:
Duarte Nunes
2017-08-10 23:53:51 +01:00
committed by Pekka Enberg
parent 301358e440
commit a3ee99554b

View File

@@ -3011,7 +3011,6 @@ storage_proxy::query_partition_key_range_concurrent(storage_proxy::clock_type::t
cl, cmd, concurrency_factor, timeout, remaining_row_count, remaining_partition_count, trace_state = std::move(trace_state)]
(foreign_ptr<lw_shared_ptr<query::result>>&& result) mutable {
if (!result->row_count() || !result->partition_count()) {
slogger.error("no row count in query result, should not happen here");
result->calculate_counts(cmd->slice);
}
remaining_row_count -= result->row_count().value();