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

[BACKPORT/21.3.x] go/worker/storage: Limit number of rounds to fetch before applying them #4404

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

tjanez
Copy link
Member

@tjanez tjanez commented Dec 16, 2021

Backport of #4403.

Previously, when a node was syncing from genesis, it would try to fetch
all unapplied rounds before applying them.
This could mean trying to fetch 100k+ rounds before applying them.
In combination with failing to fetch rounds and random retrying, this could
make the syncing process unbearably slow.
@tjanez tjanez added the c:backport Category: backport to stable branch label Dec 16, 2021
@tjanez tjanez enabled auto-merge December 16, 2021 19:36
@tjanez tjanez merged commit 5d5693f into stable/21.3.x Dec 16, 2021
@tjanez tjanez deleted the tjanez/runtime-storage-sync-issues-backport branch December 16, 2021 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:backport Category: backport to stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants