Fully clean up temporary snapshot staging directories

This commit is contained in:
Michael Vines
2020-11-30 17:37:38 -08:00
parent c59e088142
commit 254790f8c8
2 changed files with 33 additions and 6 deletions

View File

@ -828,6 +828,7 @@ fn create_validator(
enable_recycler_warming();
}
solana_ledger::entry::init_poh();
solana_runtime::snapshot_utils::remove_tmp_snapshot_archives(ledger_path);
if let Some(ref cluster_entrypoint) = cluster_entrypoint {
rpc_bootstrap(