-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement network version 12 state migration / actors v4 migration (#…
…1101) * initial code for nv12 state migration * simple root migration impl * fix borrow issues with blockstore * /s/v2/v3 and /s/v3/v4 * migration works, but incorrect * few nits * try for_each_concurrent and a few refactors * revert to next.await and refactors * migration log * address code review comments * Box<dyn Error> -> String * make blockstore Send + Sync * concurrent state migration * chore: cargo fmt * replace Mutex<Map<_>> with DashMap * move common migration code out of miner migrator * clippy fixes * cleanup unused * cargo fmt * more clippy fixes * relocate a few comments * Address code review changes * code review: rename arc_store to store * more compact in_state initialization in miner.rs * migrate_state should return error when prev state not equal new state post migration * make clippy happy * cargo fmt
- Loading branch information
1 parent
d144eac
commit 02791b9
Showing
11 changed files
with
562 additions
and
54 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.