zhang-arvin opened a new pull request, #12662:
URL: https://github.com/apache/gravitino/pull/12662

   ## What changes were proposed in this pull request?
   
   Add SQLSTATE `08S01` (Communication link failure) to the JDBC client pool 
retryable status codes, so that idle connections dropped by MySQL 
`wait_timeout` are automatically retried instead of failing with 
`CommunicationsException`.
   
   ## Why are the changes needed?
   
   Fixes #12589
   
   The Iceberg JDBC catalog uses `JdbcClientPool` which does not retry on 
`08S01` by default. When MySQL `wait_timeout` closes an idle connection, the 
driver throws `CommunicationsException` with SQLSTATE `08S01`, causing catalog 
operations to fail.
   
   ## Does this PR introduce any user-facing change?
   
   No.


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

Reply via email to