Skip to content

connectionProvider.release() doesn't really discard the connection after connection invalidated. #3067

Open
@Bughue

Description

@Bughue

Inside validateConnection, called resetConnection(), and then called release(), but the action of release() does not necessarily discard the connection.

So, getNativeConnection() probably get a same channel(TCP) which is invalid.
We've actually tested this, and the result is that still get the same tcp connection after resetConnection many times.

image

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions