solana-with-rpc-optimizations/validator/src
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
..
bin Use Ipv4Addr::{LOCALHOST, UNSPECIFIED} constants (#29813) 2023-01-23 16:49:51 -06:00
admin_rpc_service.rs asserts that cluster-info keypair is consistent with contact-info id (#29818) 2023-01-24 16:57:55 +00:00
bootstrap.rs renames ContactInfo to LegacyContactInfo (#29566) 2023-01-08 16:00:55 +00:00
cli.rs Add fully-reproducible online tracer for banking (#29196) 2023-01-25 21:54:38 +09:00
dashboard.rs Inlines variables into format strings (#29945) 2023-01-27 06:23:03 +00:00
lib.rs Elides unnecessary lifetimes (#29299) 2022-12-20 12:44:17 -05:00
main.rs Account path add run parent with old path cleanup (#29942) 2023-01-30 10:26:43 -08:00