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

Retry upload on error. #4786

Closed
fulmicoton opened this issue Mar 25, 2024 · 6 comments
Closed

Retry upload on error. #4786

fulmicoton opened this issue Mar 25, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request low-priority

Comments

@fulmicoton
Copy link
Contributor

Some object storage can fail from to time. In that case we should retry instead of restarting the pipeline and losing all of the work done.

@fulmicoton
Copy link
Contributor Author

This is low priority.

@guilload
Copy link
Member

We should already be retrying a few times (3?). Is that not working, or does the transient storage issue persist for a duration longer than our retry delay?

The number of retries was set to a low value because, on the search side, we wanted some quick feedback when a storage issue occurred.

We could have a dedicated retry policy for PUT requests.

@trinity-1686a
Copy link
Contributor

we already have retries on the storage for writes, up to 5 times. Some error were not retried, but now are since #5384, so I think this ticket can be closed

@fulmicoton
Copy link
Contributor Author

@trinity-1686a Do we retry on S3 internal errors?

@trinity-1686a
Copy link
Contributor

we retry based on what the sdk defines as transient and throttling errors, list here: https://docs.rs/aws-runtime/1.4.3/src/aws_runtime/retries/classifiers.rs.html#18-36
It doesn't include InternalError, so we don't retry on that

@trinity-1686a
Copy link
Contributor

we do retry upload now for all transient errors we could find. If more error conditions should be retried, that should be a separate ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority
Projects
None yet
Development

No branches or pull requests

3 participants