Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: State Sync no longer corrupts the DB #8732

Merged
merged 4 commits into from
Mar 16, 2023

Conversation

nikurt
Copy link
Contributor

@nikurt nikurt commented Mar 15, 2023

If a node gets stopped during State Sync then it fails to start due to an unwrap() on send_network_chain_info(). The state of the DB itself is fine. This PR makes the node gracefully handle that scenario and State Sync can safely resume and complete.

Fix: #8733

If a node gets stopped during State Sync then it fails to start due to an `unwrap()` on `send_network_chain_info()`. The state of the DB itself is fine.
This PR makes the node gracefully handle that scenario and State Sync can safely resume and complete.
@nikurt nikurt requested a review from a team as a code owner March 15, 2023 11:49
@nikurt nikurt requested a review from akhi3030 March 15, 2023 11:49
@near-bulldozer near-bulldozer bot merged commit 8ff99fe into near:master Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Understand the DB corruption caused by a failed state sync
2 participants