mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-19 16:15:07 +00:00
sstables: update stats when writing tombstones
Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
This commit is contained in:
committed by
Avi Kivity
parent
4cb03b92be
commit
261f1f75d0
@@ -1009,6 +1009,9 @@ void sstable::write_range_tombstone(file_writer& out, const composite& clusterin
|
||||
uint64_t timestamp = t.timestamp;
|
||||
uint32_t deletion_time = t.deletion_time.time_since_epoch().count();
|
||||
|
||||
update_cell_stats(_c_stats, timestamp);
|
||||
_c_stats.tombstone_histogram.update(deletion_time);
|
||||
|
||||
write(out, deletion_time, timestamp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user