Skip to content

core: don't terminate geth on rewind during sync #31603

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MariusVanDerWijden
Copy link
Member

This PR aims to close #31320 (comment)

Basically we get the signal to revert to a block before our sync block during sync. In this case there is very little that we can do. We can just try to reorg back to the genesis or exit. It seems like exit is not a really good behavior since this can prevent nodes from syncing un-finalized networks.

@fjl fjl changed the title core: don't crit on rewind during sync core: don't terminate geth on rewind during sync Apr 17, 2025
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.

Geth crashes on Holesky when trying to add invalid block after syncing good branch
1 participant