-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: JDBCIO Write freeze at getConnection() in WriteFn #22299
Comments
A possible cause is that a racing condition could occur here:
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) |
is there a particular reason to not just put connection setup logic into @setup? |
looking at this more, it can't be in @setup, but it may be possible to use @startbundle instead |
Context of last change: #12209 |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Re-raise BEAM-9629 as this seems not fully resolved.
Affect versions: at least >= 2.25, likely >=2.18 as in BEAM-9629.
log using 2.35.0
log using 2.25.0:
Issue Priority
Priority: 1
Issue Component
Component: io-java-jdbc
The text was updated successfully, but these errors were encountered: