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

Backfill start after init-sync at head #13623

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

kasey
Copy link
Contributor

@kasey kasey commented Feb 15, 2024

Problem

Backfill doesn't cooperate with init-sync to preserve rate limit capacity. Making backfill requests concurrently with init-sync requests could be causing peers serving init-sync requests to give init-sync rate limit errors, especially on goerli where some prysm nodes are running with excessively low blob batch limits. We should prioritize init-sync over backfill at node startup so the node can get up to head as soon as possible.

And so

This PR adds a step to backfill service startup to block on the signal that other services use to wait for init-sync to catch up to head for the first time. Backfill won't spawn the worker pool or begin computing batches until node begins gossip syncing at head.

@kasey kasey requested a review from a team as a code owner February 15, 2024 03:15
@nisdas nisdas enabled auto-merge February 15, 2024 04:46
@kasey kasey force-pushed the backfill-wait-initsync branch from d90ef79 to e9a55b6 Compare February 15, 2024 17:11
@nisdas nisdas added this pull request to the merge queue Feb 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 15, 2024
@kasey kasey added this pull request to the merge queue Feb 15, 2024
Merged via the queue into develop with commit e5394fe Feb 15, 2024
17 checks passed
@kasey kasey deleted the backfill-wait-initsync branch February 15, 2024 18:03
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