Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Sep 13, 2024
1 parent f6f4041 commit 05c1ff2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/value_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ impl<C: Compressor + Clone> ValueLog<C> {
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);
Expand Down

0 comments on commit 05c1ff2

Please sign in to comment.