diff --git a/runtime/src/snapshot_utils.rs b/runtime/src/snapshot_utils.rs index ec833f810a..e7f4b34144 100644 --- a/runtime/src/snapshot_utils.rs +++ b/runtime/src/snapshot_utils.rs @@ -874,6 +874,8 @@ pub fn get_bank_snapshots(bank_snapshots_dir: impl AsRef) -> Vec bank_snapshots.push(snapshot_info), + // Other threads may be modifying bank snapshots in parallel; only return + // snapshots that are complete as deemed by BankSnapshotInfo::new_from_dir() Err(err) => debug!("Unable to read bank snapshot for slot {slot}: {err}"), }, ),