From 05c1ff2d964ae4b70204a3b130f0015c24f9b562 Mon Sep 17 00:00:00 2001 From: marvin-j97 Date: Fri, 13 Sep 2024 19:37:59 +0200 Subject: [PATCH] refactor --- src/value_log.rs | 1 - 1 file changed, 1 deletion(-) 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);