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

Continue if archival state is not in DB #5565

Merged
merged 4 commits into from
Apr 21, 2020

Conversation

terencechain
Copy link
Member

This fixes #5555

When there's a finalized check point, a node enters in a migration phase to delete states that's not on the archival point. In previous iteration, a node will regenerate the state if the state does not exist on the migration point but that quickly becomes too buggy as the underlying block may not exist as well.

This PR went with the simpler approach to only preserve the state that is on the archival point.

@terencechain terencechain self-assigned this Apr 21, 2020
@terencechain terencechain added the Ready For Review A pull request ready for code review label Apr 21, 2020
@terencechain terencechain added Priority: High High priority item Enhancement New feature or request labels Apr 21, 2020
@prylabs-bulldozer prylabs-bulldozer bot merged commit 480ddb7 into master Apr 21, 2020
@delete-merged-branch delete-merged-branch bot deleted the save-blocks-splitslot branch April 21, 2020 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Priority: High High priority item Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Could not proces block due to failed migration
2 participants