solana/local-cluster
Xiang Zhu 856598969c
Account path add run parent with old path cleanup (#29942)
* Add run parent directory for accounts files

* fix test test_concurrent_snapshot_packaging

* review comments.  renamed the path setup function

* Addressed most of the review comments

* remove explict type def for map result

* handle create_accounts_run_and_snapshot_dirs error with expect

* update with more review comments

* minor fixes from review comments

* simplify account_filename option assignment

* handle error from create_accounts_run_and_snapshot_dirs

* use then instead of then_some for lazy evaluation

* Clean up files in the old account_path before trasitioning to the new run path

* try_exist and accounts_dir removing extra

* sync rmdir, is_dir check

* handle the account_path not deletable case
2023-01-30 10:26:43 -08:00
..
src Account path add run parent with old path cleanup (#29942) 2023-01-30 10:26:43 -08:00
tests Account path add run parent with old path cleanup (#29942) 2023-01-30 10:26:43 -08:00
.gitignore
Cargo.toml Revert "chore: workspace inheritance (#29509)" (#29892) 2023-01-25 15:50:41 +08:00