b4sus commented on issue #14317: URL: https://github.com/apache/iceberg/issues/14317#issuecomment-3432362659
We are getting this error using trino (rino is using iceberg jar), so we cannot catch anything directly. We have to rerun the query/job which failed and the connection will be recreated. To implementation - as far as I can see, the change would be simply changing the `release` method (see [here](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/ClientPoolImpl.java#L158)) from `clients.addFirst` to `clients.addLast` - that should cause the connections to rotate nicely. -- 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]
