sstables: kl/writer: never record too many rows

rows_count is not tracked prior to the mc format.

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
Benny Halevy
2020-11-26 12:57:03 +02:00
parent dd7422a713
commit f1257dfdc0

View File

@@ -613,7 +613,6 @@ stop_iteration sstable_writer_k_l::consume_end_of_partition() {
_c_stats.partition_size = _writer->offset() - _c_stats.start_offset;
_sst.get_large_data_handler().maybe_record_large_partitions(_sst, *_partition_key, _c_stats.partition_size).get();
_sst.get_large_data_handler().maybe_log_too_many_rows(_sst, *_partition_key, _c_stats.rows_count);
// update is about merging column_stats with the data being stored by collector.
_collector.update(std::move(_c_stats));