pingcap/tidb
GitHub で見るFailed Query OPM only counts the error count for ComQuery
Open
#16,384 opened on 2020年4月15日
component/metricshelp wantedseverity/minorsig/executiontype/bug
Repository metrics
- Stars
- (40,090 stars)
- PR merge metrics
- (平均マージ 14d 4h) (30d で 346 merged PRs)
説明
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