Guptak12 commented on issue #68080: URL: https://github.com/apache/doris/issues/68080#issuecomment-5725469504
Hi @Pencil-hzp , I’d like to work on this issue. I understand that `BaseJdbcExecutor` no longer exists on `master` after #66729, but equivalent partial-initialization cleanup gaps remain in `JdbcJniScanner.openInternal()`, `JdbcConnectionTester.openInternal()`, and `JdbcJniWriter.openInternal()`. My proposed approach is to: 1. Add deterministic tests where `getConnection()` succeeds and a later initialization step fails. 2. Close all partially created JDBC resources in reverse order. 3. Always attempt to release the Hikari connection proxy. 4. Preserve the original initialization exception if cleanup also fails. 5. Ensure failed writer initialization never commits a transaction. If this scope is acceptable, I’d be happy to submit the PR. -- 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]
