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:
parent
33cc4cc3d5
commit
5ad8c8bd20
|
@ -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()
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue