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

fix: stewardship retrieving the same chunk multiple times #4996

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

acha-bill
Copy link
Contributor

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

Stewardship of /byte uploads was repeatedly retrieving the root chunk because it first attempts to load a manifest, which the upload is not.

To address this, we now iterate over manifest addresses only if the input reference is "likely" a manifest reference i.e The root chunk span is small (less than swarm.ChunkSize)

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

#4977

Screenshots (if appropriate):

@istae istae merged commit f1e041f into master Feb 11, 2025
15 checks passed
@istae istae deleted the fix/stewardship-multi-retrieval branch February 11, 2025 15:29
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.

4 participants