Connection count metric can be less than the real value #51889
Labels
affects-7.5
This bug affects the 7.5.x(LTS) versions.
report/community
The community has encountered this bug.
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
This issue has similar reason with #42761, because the
conn.Close()
will be called multiple times 🤦.And
We have two ways to solve this problem:
conn.Close()
. Only have logic in thesync.Once
inside thecloseConn
.The text was updated successfully, but these errors were encountered: