nastra commented on code in PR #13352:
URL: https://github.com/apache/iceberg/pull/13352#discussion_r2163176601


##########
core/src/main/java/org/apache/iceberg/rest/ExponentialHttpRequestRetryStrategy.java:
##########
@@ -79,11 +79,7 @@ class ExponentialHttpRequestRetryStrategy implements 
HttpRequestRetryStrategy {
         maximumRetries > 0, "Cannot set retries to %s, the value must be 
positive", maximumRetries);
     this.maxRetries = maximumRetries;
     this.retriableCodes =
-        ImmutableSet.of(
-            HttpStatus.SC_TOO_MANY_REQUESTS,
-            HttpStatus.SC_SERVICE_UNAVAILABLE,
-            HttpStatus.SC_BAD_GATEWAY,
-            HttpStatus.SC_GATEWAY_TIMEOUT);
+        ImmutableSet.of(HttpStatus.SC_TOO_MANY_REQUESTS, 
HttpStatus.SC_SERVICE_UNAVAILABLE);

Review Comment:
   can you please also update the Javadoc around L60?



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to