fixup! lt: Reallow custom accounts path with Secondary access (#30228) (#30236)

The previous change used Primary access; however, it is better to use
PrimaryForMaintenance in this case to disallow any potential compaction
from happening.
This commit is contained in:
steviez 2023-02-10 14:09:14 -06:00 committed by GitHub
parent 33cc4cc3d5
commit 5ad8c8bd20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1164,7 +1164,7 @@ fn load_bank_forks(
if Blockstore::open_with_options(
blockstore.ledger_path(),
BlockstoreOptions {
access_type: AccessType::Primary,
access_type: AccessType::PrimaryForMaintenance,
..BlockstoreOptions::default()
},
)