From db4b76d9e25dc119ca94a751d76079a34bfb8eb8 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Tue, 16 May 2023 09:11:24 -0500 Subject: [PATCH] default to using packed ancient append vec (#31657) --- runtime/src/accounts_db.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 61115c9928..4b57d9aa4c 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -475,7 +475,7 @@ pub const ACCOUNTS_DB_CONFIG_FOR_TESTING: AccountsDbConfig = AccountsDbConfig { skip_initial_hash_calc: false, exhaustively_verify_refcounts: false, assert_stakes_cache_consistency: true, - create_ancient_storage: CreateAncientStorage::Append, + create_ancient_storage: CreateAncientStorage::Pack, }; pub const ACCOUNTS_DB_CONFIG_FOR_BENCHMARKS: AccountsDbConfig = AccountsDbConfig { index: Some(ACCOUNTS_INDEX_CONFIG_FOR_BENCHMARKS), @@ -486,7 +486,7 @@ pub const ACCOUNTS_DB_CONFIG_FOR_BENCHMARKS: AccountsDbConfig = AccountsDbConfig skip_initial_hash_calc: false, exhaustively_verify_refcounts: false, assert_stakes_cache_consistency: false, - create_ancient_storage: CreateAncientStorage::Append, + create_ancient_storage: CreateAncientStorage::Pack, }; pub type BinnedHashData = Vec>; @@ -2380,7 +2380,7 @@ impl AccountsDb { AccountsDb { assert_stakes_cache_consistency: false, bank_progress: BankCreationFreezingProgress::default(), - create_ancient_storage: CreateAncientStorage::Append, + create_ancient_storage: CreateAncientStorage::Pack, verify_accounts_hash_in_bg: VerifyAccountsHashInBackground::default(), filler_accounts_per_slot: AtomicU64::default(), filler_account_slots_remaining: AtomicU64::default(),