mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-07 23:43:31 +00:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user