remove bank_from_snapshot_archives caching_enabled (#29171)
This commit is contained in:
parent
99f0113450
commit
45ba5ef6fd
|
@ -453,7 +453,6 @@ fn test_snapshots_have_expected_epoch_accounts_hash() {
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
AccountShrinkThreshold::default(),
|
AccountShrinkThreshold::default(),
|
||||||
true,
|
true,
|
||||||
|
|
|
@ -172,7 +172,6 @@ fn restore_from_snapshot(
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
accounts_db::AccountShrinkThreshold::default(),
|
accounts_db::AccountShrinkThreshold::default(),
|
||||||
check_hash_calculation,
|
check_hash_calculation,
|
||||||
|
|
|
@ -609,7 +609,6 @@ fn test_extra_fields_full_snapshot_archive() {
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
AccountShrinkThreshold::default(),
|
AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
|
|
@ -959,7 +959,6 @@ pub fn bank_from_snapshot_archives(
|
||||||
debug_keys: Option<Arc<HashSet<Pubkey>>>,
|
debug_keys: Option<Arc<HashSet<Pubkey>>>,
|
||||||
additional_builtins: Option<&Builtins>,
|
additional_builtins: Option<&Builtins>,
|
||||||
account_secondary_indexes: AccountSecondaryIndexes,
|
account_secondary_indexes: AccountSecondaryIndexes,
|
||||||
accounts_db_caching_enabled: bool,
|
|
||||||
limit_load_slot_count_from_snapshot: Option<usize>,
|
limit_load_slot_count_from_snapshot: Option<usize>,
|
||||||
shrink_ratio: AccountShrinkThreshold,
|
shrink_ratio: AccountShrinkThreshold,
|
||||||
test_hash_calculation: bool,
|
test_hash_calculation: bool,
|
||||||
|
@ -1004,7 +1003,7 @@ pub fn bank_from_snapshot_archives(
|
||||||
debug_keys,
|
debug_keys,
|
||||||
additional_builtins,
|
additional_builtins,
|
||||||
account_secondary_indexes,
|
account_secondary_indexes,
|
||||||
accounts_db_caching_enabled,
|
true, // caching_enabled
|
||||||
limit_load_slot_count_from_snapshot,
|
limit_load_slot_count_from_snapshot,
|
||||||
shrink_ratio,
|
shrink_ratio,
|
||||||
verify_index,
|
verify_index,
|
||||||
|
@ -1063,7 +1062,7 @@ pub fn bank_from_latest_snapshot_archives(
|
||||||
debug_keys: Option<Arc<HashSet<Pubkey>>>,
|
debug_keys: Option<Arc<HashSet<Pubkey>>>,
|
||||||
additional_builtins: Option<&Builtins>,
|
additional_builtins: Option<&Builtins>,
|
||||||
account_secondary_indexes: AccountSecondaryIndexes,
|
account_secondary_indexes: AccountSecondaryIndexes,
|
||||||
accounts_db_caching_enabled: bool,
|
_accounts_db_caching_enabled: bool,
|
||||||
limit_load_slot_count_from_snapshot: Option<usize>,
|
limit_load_slot_count_from_snapshot: Option<usize>,
|
||||||
shrink_ratio: AccountShrinkThreshold,
|
shrink_ratio: AccountShrinkThreshold,
|
||||||
test_hash_calculation: bool,
|
test_hash_calculation: bool,
|
||||||
|
@ -1108,7 +1107,6 @@ pub fn bank_from_latest_snapshot_archives(
|
||||||
debug_keys,
|
debug_keys,
|
||||||
additional_builtins,
|
additional_builtins,
|
||||||
account_secondary_indexes,
|
account_secondary_indexes,
|
||||||
accounts_db_caching_enabled,
|
|
||||||
limit_load_slot_count_from_snapshot,
|
limit_load_slot_count_from_snapshot,
|
||||||
shrink_ratio,
|
shrink_ratio,
|
||||||
test_hash_calculation,
|
test_hash_calculation,
|
||||||
|
@ -3261,7 +3259,6 @@ mod tests {
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
AccountShrinkThreshold::default(),
|
AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
@ -3374,7 +3371,6 @@ mod tests {
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
AccountShrinkThreshold::default(),
|
AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
@ -3507,7 +3503,6 @@ mod tests {
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
AccountShrinkThreshold::default(),
|
AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
@ -3771,7 +3766,6 @@ mod tests {
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
AccountShrinkThreshold::default(),
|
AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
@ -3836,7 +3830,6 @@ mod tests {
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
false,
|
|
||||||
None,
|
None,
|
||||||
AccountShrinkThreshold::default(),
|
AccountShrinkThreshold::default(),
|
||||||
false,
|
false,
|
||||||
|
|
Loading…
Reference in New Issue