diff --git a/src/value_log.rs b/src/value_log.rs index eaf1b94..b201de3 100644 --- a/src/value_log.rs +++ b/src/value_log.rs @@ -406,7 +406,6 @@ impl ValueLog { let segment = self.manifest.get_segment(id).expect("segment should exist"); let stale_bytes = total_bytes - used_size; - let stale_items = total_items - alive_item_count; segment.gc_stats.set_stale_bytes(stale_bytes);