pingcap/tidb
Voir sur GitHubFailed Query OPM only counts the error count for ComQuery
Open
#16 384 ouverte le 15 avr. 2020
component/metricshelp wantedseverity/minorsig/executiontype/bug
Métriques du dépôt
- Stars
- (40 090 stars)
- Métriques de merge PR
- (Merge moyen 14j 4h) (346 PRs mergées en 30 j)
Description
Bug Report
Now, we count the error count in handleQuery which is only valid for ComQuery.
Actually, we should count the error for all commands. Or, some errors may be lost if the command is not ComQuery.
https://github.com/pingcap/tidb/blob/master/server/conn.go#L1270-L1287