dentiny opened a new issue, #840:
URL: https://github.com/apache/arrow-rs-object-store/issues/840

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   Hi team, I'm using OCI object storage in production, and I found it returns 
403 or 404 when temporary authentication failures.
   
   For now, we only retry [limited error 
status](https://github.com/apache/arrow-rs-object-store/blob/d5737ddec752bb7de38ea94482f1f8fbaa3b5aa9/src/client/retry.rs#L408-L411),
 and there's no way for us to customize our retry policy; for my case 
specially, I do want to retry on 403/404.
   
   **Describe the solution you'd like**
   
   Make retry policy a functor, so users could customize their own retry logic; 
meanwhile default policy shouldn't be changed.
   
   **Describe alternatives you've considered**
   
   There're some well-known retry libraries on the market, like 
[backon](https://github.com/Xuanwo/backon), we could also adopt it as well.
   
   **Additional context**
   
   I'm discussing with OCI team on the HTTP status code, but would like to have 
customized retry policy to unblock.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to