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

eth/downloader: prevent pivot moves after state commit #28126

Merged

Conversation

karalabe
Copy link
Member

Fix an extremely rare corner-case where snap sync might actually restart snap syncing after committing the pivot block, if a pivot move is detected in between processing the full blocks. This should realistically not happen, but still, better fix for that one in a million case.

@karalabe karalabe added this to the 1.13.1 milestone Sep 15, 2023
@karalabe karalabe force-pushed the downloader-fix-post-commit-pivot-move branch from f3bac3f to d6439d0 Compare September 15, 2023 08:56
@karalabe karalabe force-pushed the downloader-fix-post-commit-pivot-move branch from d6439d0 to 97848e0 Compare September 15, 2023 08:58
@karalabe karalabe merged commit 4fa3db4 into ethereum:master Sep 15, 2023
1 of 2 checks passed
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
This pull request was closed.
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.

2 participants