xylaaaaa opened a new pull request, #61418:
URL: https://github.com/apache/doris/pull/61418

   ## Problem
   - paimon 1.1.1 JDBC catalog keeps long-lived JDBC connections in 
`JdbcClientPool`
   - borrowed connections are reused without validity checks
   - after MySQL `wait_timeout`, read paths can fail with stale connection 
errors such as `CJCommunicationsException` / `Broken pipe`
   
   ## Fix
   - detect stale JDBC connection failures in `PaimonExternalCatalog` for JDBC 
catalogs
   - reset the catalog to uninitialized, rebuild the underlying Paimon catalog, 
and retry read operations once
   - keep retry scope on read paths only to avoid replaying mutating DDL 
operations
   - clear `metadataOps` and `catalog` references during close to prevent stale 
objects from being reused
   
   ## Tests
   - added `PaimonJdbcCatalogReconnectTest`
   - verified the targeted FE UT passed: `Tests run: 3, Failures: 0, Errors: 0, 
Skipped: 0`
   


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