pingcap/tidb

Failed Query OPM only counts the error count for ComQuery

Open

#16,384 建立於 2020年4月15日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Go (6,186 fork)batch import
component/metricshelp wantedseverity/minorsig/executiontype/bug

倉庫指標

Star
 (40,090 star)
PR 合併指標
 (平均合併 14天 4小時) (30 天內合併 346 個 PR)

描述

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

貢獻者指南