Skip to content

feat: strengthen retrieval - #394

Open
akronim26 wants to merge 6 commits into
storacha:mainfrom
akronim26:retrieval
Open

feat: strengthen retrieval#394
akronim26 wants to merge 6 commits into
storacha:mainfrom
akronim26:retrieval

Conversation

@akronim26

Copy link
Copy Markdown
Contributor

This resolves #347

Description

This PR implements a fail-over mechanism for block and shard retrieval. The changes introduce two-level fail-over logic: it now iterates through all available storage provider locations for a block and all URL endpoints within each location until a successful retrieval is achieved. Additionally, it optimizes retrieval efficiency by moving DID parsing and capability proof fetching outside of retry loops and ensures consistent resource cleanup of response bodies across all fetch paths.

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.

When a location is unavailable for retrieval, Guppy should fail-over to one that is

1 participant