-
Notifications
You must be signed in to change notification settings - Fork 251
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
Expose with_retry
in storage options?
#3182
Comments
Correct, there is no exponential backoff to the download retries (though it depends on your definition of exponential). However, I'm not sure that If you are looking for something over 5 minutes then you will encounter this warning from
If you are looking for something less than 5 minutes then you can probably get there by exposing We do have an outer retry loop that we use in most places which can be configured with (sadly not documented So, if we want a retry loop for intermittent network timeouts it probably needs to be a new retry loop. I'd be open to the idea but also slightly cautious as this feels like something not all users will need and the users that do can build their own retry loop outside of Lance. |
Add `client_max_retries` and `client_retry_timeout` of `RetryConfig` for S3 client. If there are some server error of object store server, the `object store` module of `arrow-rs` will retry `client_max_retries` times and also the total execute time is not over `client_retry_timeout`. Closes #3182 --------- Co-authored-by: Will Jones <[email protected]>
The underlying
object_store
crate being used supports setting awith_retry
configuration which is useful for exponential backoff and jitter when you have temporary network outages. It should be exposed to the user via thestorage_options
API (or some other API) so it can be set, as it stands I don't think there's any exponential backoff to the download retries?The text was updated successfully, but these errors were encountered: