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 forward bor snaps #10027

Merged
merged 5 commits into from
Apr 24, 2024
Merged

Fix forward bor snaps #10027

merged 5 commits into from
Apr 24, 2024

Conversation

mh0lt
Copy link
Collaborator

@mh0lt mh0lt commented Apr 23, 2024

This fixes this issue:

#9499

which is caused by restarting erigon during the bor-heimdall stage.

Previously after the initial call to bor-heimdall (header 0), forward downloading was disabled, but backward
downloading recursively collects headers - holding results in memory until it can roll them forward. This should
only be called for a limited number of headers, otherwise it leads to a large amount of memory >45GB for bor
main net if the process is stopped at block 1.

@AskAlexSharov AskAlexSharov merged commit d1340de into devel Apr 24, 2024
7 checks passed
@AskAlexSharov AskAlexSharov deleted the fix_forward_bor_snaps branch April 24, 2024 09:25
@ghost ghost mentioned this pull request Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants