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

exit blob fetching for cp block if outside retention #13686

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

kasey
Copy link
Contributor

@kasey kasey commented Mar 5, 2024

What type of PR is this?
Bug fix

What does this PR do? Why is it needed?

If the checkpoint sync origin is outside the blob retention epoch, we will have pruned its blobs. This creates a false positive where we think we need to fetch the blobs, but since they are outside the retention period, we may not be able to get them from peers.

This PR exits the checkpoint block blob fetching routine if the checkpoint block slot is outside the retention period.

@kasey kasey requested a review from a team as a code owner March 5, 2024 01:50
@kasey kasey added this pull request to the merge queue Mar 5, 2024
Merged via the queue into develop with commit b3caaa9 Mar 5, 2024
17 checks passed
@kasey kasey deleted the cp-blobs-outside-retention branch March 5, 2024 03:05
kasey added a commit that referenced this pull request Mar 5, 2024
* exit blob fetching for cp block if outside retention

* regression test

---------

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
(cherry picked from commit b3caaa9)
This pull request was closed.
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