remove AccountsDb::new_with_config.caching_enabled (#29167)
This commit is contained in:
parent
e02d1670fb
commit
5e799ad563
|
@ -194,7 +194,7 @@ impl Accounts {
|
|||
paths: Vec<PathBuf>,
|
||||
cluster_type: &ClusterType,
|
||||
account_indexes: AccountSecondaryIndexes,
|
||||
caching_enabled: bool,
|
||||
_caching_enabled: bool,
|
||||
shrink_ratio: AccountShrinkThreshold,
|
||||
accounts_db_config: Option<AccountsDbConfig>,
|
||||
accounts_update_notifier: Option<AccountsUpdateNotifier>,
|
||||
|
@ -205,7 +205,6 @@ impl Accounts {
|
|||
paths,
|
||||
cluster_type,
|
||||
account_indexes,
|
||||
caching_enabled,
|
||||
shrink_ratio,
|
||||
accounts_db_config,
|
||||
accounts_update_notifier,
|
||||
|
|
|
@ -2363,7 +2363,6 @@ impl AccountsDb {
|
|||
paths,
|
||||
cluster_type,
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
AccountShrinkThreshold::default(),
|
||||
Some(ACCOUNTS_DB_CONFIG_FOR_TESTING),
|
||||
None,
|
||||
|
@ -2376,7 +2375,6 @@ impl AccountsDb {
|
|||
paths,
|
||||
cluster_type,
|
||||
AccountSecondaryIndexes::default(),
|
||||
true,
|
||||
AccountShrinkThreshold::default(),
|
||||
Some(ACCOUNTS_DB_CONFIG_FOR_TESTING),
|
||||
None,
|
||||
|
@ -2388,7 +2386,6 @@ impl AccountsDb {
|
|||
paths: Vec<PathBuf>,
|
||||
cluster_type: &ClusterType,
|
||||
account_indexes: AccountSecondaryIndexes,
|
||||
_caching_enabled: bool,
|
||||
shrink_ratio: AccountShrinkThreshold,
|
||||
mut accounts_db_config: Option<AccountsDbConfig>,
|
||||
accounts_update_notifier: Option<AccountsUpdateNotifier>,
|
||||
|
@ -9471,7 +9468,6 @@ impl AccountsDb {
|
|||
paths,
|
||||
cluster_type,
|
||||
account_indexes,
|
||||
true, // caching_enabled
|
||||
shrink_ratio,
|
||||
Some(ACCOUNTS_DB_CONFIG_FOR_TESTING),
|
||||
None,
|
||||
|
|
|
@ -662,7 +662,7 @@ fn reconstruct_accountsdb_from_fields<E>(
|
|||
storage_and_next_append_vec_id: StorageAndNextAppendVecId,
|
||||
genesis_config: &GenesisConfig,
|
||||
account_secondary_indexes: AccountSecondaryIndexes,
|
||||
caching_enabled: bool,
|
||||
_caching_enabled: bool,
|
||||
limit_load_slot_count_from_snapshot: Option<usize>,
|
||||
shrink_ratio: AccountShrinkThreshold,
|
||||
verify_index: bool,
|
||||
|
@ -678,7 +678,6 @@ where
|
|||
account_paths.to_vec(),
|
||||
&genesis_config.cluster_type,
|
||||
account_secondary_indexes,
|
||||
caching_enabled,
|
||||
shrink_ratio,
|
||||
accounts_db_config,
|
||||
accounts_update_notifier,
|
||||
|
|
Loading…
Reference in New Issue