Skip to content

Do not mark already closed connection as to be reused#16121

Merged
kokosing merged 1 commit intotrinodb:masterfrom
wendigo:serafin/fix-reusable-connection-v2
Feb 15, 2023
Merged

Do not mark already closed connection as to be reused#16121
kokosing merged 1 commit intotrinodb:masterfrom
wendigo:serafin/fix-reusable-connection-v2

Conversation

@wendigo
Copy link
Contributor

@wendigo wendigo commented Feb 15, 2023

It can happen that the connection will be closed during the query execution, either by the JDBC driver or the connection pooling manager. When connection is closed, it shouldn't be available for reuse by the next getConnection caller.

Replaces #16115

@cla-bot cla-bot bot added the cla-signed label Feb 15, 2023
@wendigo wendigo requested a review from kokosing February 15, 2023 08:52
@wendigo wendigo force-pushed the serafin/fix-reusable-connection-v2 branch from d362c4c to 8bbb88c Compare February 15, 2023 09:15
Copy link
Member

@kokosing kokosing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

% comments

It can happen that the connection will be closed during the query execution, either by the JDBC driver
or the connection pooling manager. When connection is closed, it shouldn't be available for reuse by the next
getConnection caller.
@wendigo wendigo force-pushed the serafin/fix-reusable-connection-v2 branch from 8bbb88c to 87bd5c2 Compare February 15, 2023 10:00
@kokosing kokosing merged commit e96ccef into trinodb:master Feb 15, 2023
@kokosing
Copy link
Member

Thanks!

@github-actions github-actions bot added this to the 407 milestone Feb 15, 2023
@wendigo wendigo deleted the serafin/fix-reusable-connection-v2 branch January 21, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants