From 261f1f75d09f70d8a6018673d47b79c10abd0619 Mon Sep 17 00:00:00 2001 From: "Raphael S. Carvalho" Date: Wed, 24 Jun 2015 19:09:39 -0300 Subject: [PATCH] sstables: update stats when writing tombstones Signed-off-by: Raphael S. Carvalho --- sstables/sstables.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sstables/sstables.cc b/sstables/sstables.cc index 09d1482c9e..990b53cc9b 100644 --- a/sstables/sstables.cc +++ b/sstables/sstables.cc @@ -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); }