diff --git a/runtime/src/bucket_map_holder.rs b/runtime/src/bucket_map_holder.rs index aca0b0e57a9656..a7948b38e34574 100644 --- a/runtime/src/bucket_map_holder.rs +++ b/runtime/src/bucket_map_holder.rs @@ -68,6 +68,8 @@ pub struct BucketMapHolder + Into> /// Note startup is an optimization and is not required for correctness. startup: AtomicBool, _phantom: PhantomData, + + pub(crate) write_active: AtomicBool, } impl + Into> Debug for BucketMapHolder { @@ -258,6 +260,7 @@ impl + Into> BucketMapHolder startup: AtomicBool::default(), mem_budget_mb, threads, + write_active: AtomicBool::default(), _phantom: PhantomData, } } diff --git a/runtime/src/in_mem_accounts_index.rs b/runtime/src/in_mem_accounts_index.rs index 5b80a83d18fea0..6ee6e4606d9c6e 100644 --- a/runtime/src/in_mem_accounts_index.rs +++ b/runtime/src/in_mem_accounts_index.rs @@ -1128,7 +1128,10 @@ impl + Into> InMemAccountsIndex + Into> InMemAccountsIndex