Skip to content

Improve error handling on large blob downloads#1

Merged
jcarter3 merged 1 commit into
mainfrom
improve-download-error-handling
Apr 14, 2026
Merged

Improve error handling on large blob downloads#1
jcarter3 merged 1 commit into
mainfrom
improve-download-error-handling

Conversation

@jcarter3

Copy link
Copy Markdown
Collaborator

Adds timeout to each ranged get so that if the connection stalls, we quit and retry.
Also propagates other read errors back to the coordinating worker so that if a worker fails, it still retries.

Improve error handling on large blob downloads

@tianon-sso tianon-sso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The repeated cancel() and wg.Wait() bits seem like a code smell, but maybe not worth an explicit block on the merge? (might be worth double checking for race issues in the future)

@jcarter3
jcarter3 merged commit 447761b into main Apr 14, 2026
4 checks passed
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