diff --git a/accounts-db/src/accounts_db.rs b/accounts-db/src/accounts_db.rs index c49928d6d..db55b210d 100644 --- a/accounts-db/src/accounts_db.rs +++ b/accounts-db/src/accounts_db.rs @@ -9508,6 +9508,9 @@ impl AccountsDb { ); store.count_and_status.write().unwrap().0 = entry.count; store.alive_bytes.store(entry.stored_size, Ordering::SeqCst); + store + .approx_store_count + .store(entry.count, Ordering::Relaxed); } else { trace!("id: {} clearing count", id); store.count_and_status.write().unwrap().0 = 0;