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 min slot flag #13729

Merged
merged 3 commits into from
Mar 15, 2024
Merged

Backfill min slot flag #13729

merged 3 commits into from
Mar 15, 2024

Conversation

kasey
Copy link
Contributor

@kasey kasey commented Mar 12, 2024

What type of PR is this?

Feature

What does this PR do? Why is it needed?

Adds the ability to control the slot where the backfill operation will be marked complete. This flag only allows specifying a slot that is older than <current_slot> - MIN_EPOCHS_FOR_BLOCK_REQUESTS. If the specified slot is newer than that, it will be ignored with a warning log. Setting a value of 0 allows backfilling to genesis.

Note that this flag does not change the behavior of the backfill process with regard to blobs. Blobs outside the retention window still will not be downloaded, as nodes may be unable to find peers capable of serving expired blobs and requiring them to be present would create complexities re peer scoring and delay syncing for the majority of nodes that do not need expired blobs.

@kasey kasey requested a review from a team as a code owner March 12, 2024 17:27
@kasey kasey requested review from potuz, nisdas and james-prysm March 12, 2024 17:27
@kasey kasey force-pushed the backfill-min-slot-flag branch from 0edca40 to 5c87237 Compare March 12, 2024 20:27
@kasey kasey force-pushed the backfill-min-slot-flag branch from dab14a3 to 5588694 Compare March 14, 2024 21:00
@nisdas nisdas added this pull request to the merge queue Mar 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 15, 2024
@kasey kasey added this pull request to the merge queue Mar 15, 2024
Merged via the queue into develop with commit 8e0b1b7 Mar 15, 2024
17 checks passed
@kasey kasey deleted the backfill-min-slot-flag branch March 15, 2024 15:38
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