nastra commented on code in PR #12743:
URL: https://github.com/apache/iceberg/pull/12743#discussion_r2084624210
##########
core/src/main/java/org/apache/iceberg/ClientPoolImpl.java:
##########
@@ -82,7 +82,7 @@ public <R> R run(Action<R, C, E> action, boolean retry)
throws E, InterruptedExc
retryAttempts++;
Thread.sleep(CONNECTION_RETRY_WAIT_PERIOD_MS);
} else {
- throw reconnectExc.cast(exc);
+ throw (E) exc;
Review Comment:
all of the newly added tests are passing even without this change here.
Ideally we would want to have a test that reproduces the underlying issue
--
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]