Skip to content

Commit

Permalink
Report lost_insertions metrics correctly (#35191)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun authored Feb 14, 2024
1 parent 716ad54 commit 4b77ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program-runtime/src/loaded_programs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ impl Stats {
let evictions: u64 = self.evictions.values().sum();
let reloads = self.reloads.load(Ordering::Relaxed);
let insertions = self.insertions.load(Ordering::Relaxed);
let lost_insertions = self.insertions.load(Ordering::Relaxed);
let lost_insertions = self.lost_insertions.load(Ordering::Relaxed);
let replacements = self.replacements.load(Ordering::Relaxed);
let one_hit_wonders = self.one_hit_wonders.load(Ordering::Relaxed);
let prunes_orphan = self.prunes_orphan.load(Ordering::Relaxed);
Expand Down

0 comments on commit 4b77ee5

Please sign in to comment.