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

Clear missing block ranges after every success import #7469

Merged
merged 2 commits into from
May 15, 2023

Conversation

Qwerty5Uiop
Copy link
Collaborator

@Qwerty5Uiop Qwerty5Uiop commented May 12, 2023

Motivation

Currently, catchup fetcher clears the batch of missing_block_ranges only after the whole batch has been processed. Since this batch can contain a large amount of blocks, it can take a lot of time for process and, if there will be any error on import (such as db disconnect), the batch will not be cleared, and therefore, the same batch will be processed on the next step.

Changelog

Clear batch after every successful import

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