dentiny commented on code in PR #841:
URL:
https://github.com/apache/arrow-rs-object-store/pull/841#discussion_r3817853719
##########
src/client/retry.rs:
##########
@@ -247,6 +265,52 @@ pub struct RetryConfig {
/// below 5 minutes to avoid errors due to expired credentials
/// and/or request payloads
pub retry_timeout: Duration,
+
+ /// An optional function that determines whether a response status should
be retried
+ ///
+ /// When set, this replaces the default status policy, including any
provider-specific
+ /// status handling. Successful responses, redirects, and `304 Not
Modified` responses
+ /// are handled before this policy is invoked.
+ ///
+ /// Transport errors are classified separately and are not affected by
this policy.
+ pub retry_status_policy: Option<RetryStatusPolicy>,
Review Comment:
Yes, it's intentional :)
--
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]