tidb-incubator / weir

Apache License 2.0
97 stars 40 forks source link

add error close in PooledBackendConn #15

Closed teckick closed 3 years ago

teckick commented 3 years ago

add error close in PooledBackendConn

What problem does this PR solve?

Currently, closing a PooledBackendConn may cause connection pool size decrease. This PR add ErrorClose() to solve it.

What is changed and how it works?

Check List

Tests

Side effects