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: publish location claim to content claims service #1571

Merged
merged 8 commits into from
Nov 28, 2024

Conversation

alanshaw
Copy link
Member

Big oversight here, although I think the original intention was to have the client publish these so perhaps not.

Anyways, since no location claims are being published the gateway cannot fetch an index and serve bytes quickly. It has to get a location claim for every single block using the old dynamodb. Being able to use the index will result in a speed increase for serving content via the gateway.

Depends on storacha/content-claims#74 for passing tests.

Copy link
Member

@Peeja Peeja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're not making that claim?

Good catch! ❤️ LGTM!

packages/upload-api/test/handlers/blob.js Outdated Show resolved Hide resolved
@alanshaw alanshaw force-pushed the fix/publish-location-claim-to-content-claims-service branch from 8e946c2 to 496bf6a Compare November 28, 2024 17:56
@alanshaw alanshaw merged commit fb08e0e into main Nov 28, 2024
15 checks passed
@alanshaw alanshaw deleted the fix/publish-location-claim-to-content-claims-service branch November 28, 2024 18:31
alanshaw pushed a commit that referenced this pull request Nov 29, 2024
🤖 I have created a release *beep* *boop*
---


##
[18.1.4](upload-api-v18.1.3...upload-api-v18.1.4)
(2024-11-28)


### Fixes

* publish location claim to content claims service
([#1571](#1571))
([fb08e0e](fb08e0e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
alanshaw added a commit that referenced this pull request Nov 29, 2024
🤖 I have created a release *beep* *boop*
---


##
[16.5.2](w3up-client-v16.5.1...w3up-client-v16.5.2)
(2024-11-29)


### Fixes

* publish location claim to content claims service
([#1571](#1571))
([fb08e0e](fb08e0e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ash <[email protected]>
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.

3 participants