amogh-jahagirdar commented on code in PR #10433: URL: https://github.com/apache/iceberg/pull/10433#discussion_r1764033379
########## aws/src/main/java/org/apache/iceberg/aws/s3/S3InputStream.java: ########## @@ -57,6 +64,14 @@ class S3InputStream extends SeekableInputStream implements RangeReadable { private final Counter readOperations; private int skipSize = 1024 * 1024; + private RetryPolicy<Object> retryPolicy = + RetryPolicy.builder() + .handle( + ImmutableList.of( + SSLException.class, SocketTimeoutException.class, SocketException.class)) + .onFailure(failure -> openStream(true)) + .withMaxRetries(3) Review Comment: We can make these configurable down the line if needed but this covers all the cases that have been reported so far -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org