30s or 1min slow query on low load cluster #32500
Labels
affects-5.1
This bug affects 5.1.x versions.
component/tikv-client
fixes-5.1.2
fixes-5.2.0
may-affects-4.0
This bug maybe affects 4.0.x versions.
may-affects-5.0
This bug maybe affects 5.0.x versions.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Found in our customer's environment
In the tidb log, "recycle idle connection" can be found.
The cluster is not busy, but sometime it get slow query even on point get operation.
Typically, the slow query takes 30s ... (which is the timeout retry duration)
Maybe in some cases, the latency of the load schema is also high from grafana metrics.
2. What did you expect to see? (Required)
No unexpected slow query when the cluster is not busy.
3. What did you see instead (Required)
"recycle idle connection" log in TiDB, and also some unexpected slow query...
4. What is your TiDB version? (Required)
release-5.1
The text was updated successfully, but these errors were encountered: