Abacn commented on issue #22299: URL: https://github.com/apache/beam/issues/22299#issuecomment-1185697215
A possible cause is that a racing condition could occur here: https://github.com/apache/beam/blob/2f13855aff620f0df020aead22e5d14ccab0f85e/sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/JdbcIO.java#L2323 getConnection() gets called by many process element at the same time, with connection == null, and all of them trying to establish the dataSource.getConnection at the same time. Marking this async may solve the issue. However, verifying this is blocked by broken JdbcIOIT, where the fix is currently in progress (#21796) -- 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]
