Connection count metric can be less than the real value #51889
Labels
affects-7.5
found/community
The community has encountered this bug.
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
This issue is 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: