From 9e9417b47450f2a7daf3442cc7fac8002524c2e0 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" <75863576+jeffwashington@users.noreply.github.com> Date: Wed, 22 Sep 2021 08:55:07 -0500 Subject: [PATCH] AcctIdx: initialze stats with # bins (#20088) --- runtime/src/bucket_map_holder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/bucket_map_holder.rs b/runtime/src/bucket_map_holder.rs index 1d342cd489..7dc02b4406 100644 --- a/runtime/src/bucket_map_holder.rs +++ b/runtime/src/bucket_map_holder.rs @@ -129,7 +129,7 @@ impl BucketMapHolder { ages_to_stay_in_cache, count_ages_flushed: AtomicUsize::default(), age: AtomicU8::default(), - stats: BucketMapHolderStats::default(), + stats: BucketMapHolderStats::new(bins), wait_dirty_or_aged: WaitableCondvar::default(), next_bucket_to_flush: Mutex::new(0), age_timer: AtomicInterval::default(),