Skip to content

Conversation

dselans
Copy link

@dselans dselans commented Dec 15, 2015

Fixes #91

  • Retry getFile() upto MaxGetFileAttempts attempts

I have personally only seen the random 500 errors on pulls - if it turns out
that pushes are affected as well, we can apply similar logic to that as well.

In addition, this is a bandaid fix until we move towards the official aws go sdk.

@talpert @idleyoungman

Fixes #91

- Retry getFile() upto `MaxGetFileAttempts` attempts

I have personally only seen the random 500 errors on pulls - if it turns out
that pushes are affected as well, we can apply similar logic to that as well.

In addition, this is a bandaid fix until we move towards the official aws go sdk.
talpert added a commit that referenced this pull request Dec 15, 2015
Adds retry logic to the getFile() method
@talpert talpert merged commit b4ea681 into master Dec 15, 2015
@talpert talpert deleted the dselans/500_fix branch December 15, 2015 22:17
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.

Add retry logic for S3 500 errors
2 participants