forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(state sync): handle StateResponse on state_parts_future_spawner (n…
…ear#12205) Before this PR, when a state part arrived via a network message from a peer, it was validated and stored by the client actor. As a result, the client actor could become slow to apply blocks causing the node to fall behind the chain. Instead, the state parts should be handled async on `state_parts_future_spawner` the same way they are when downloaded from external storage. --------- Co-authored-by: Marcelo Diop-Gonzalez <[email protected]>
- Loading branch information
1 parent
3c7177b
commit ff06e9b
Showing
2 changed files
with
123 additions
and
56 deletions.
There are no files selected for viewing
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