Skip to content

Add retry support for certain upload failures #9

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

Merged
merged 2 commits into from
Sep 21, 2022

Conversation

jlogsdon
Copy link
Contributor

GCS can randomly fail uploads with 502s (and other retryable statuses). This adds an optional --max-retries flag with a naive exponential backoff (up to 30s wait by default).

@jlogsdon jlogsdon requested review from pkriete and eranimo July 18, 2019 16:34
Copy link
Contributor

@pkriete pkriete left a comment

Choose a reason for hiding this comment

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

Nice! LGTM

@eranimo eranimo merged commit 4beb454 into master Sep 21, 2022
@McKenzieW McKenzieW deleted the retry-failed-uploads branch October 31, 2023 15:11
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