【概述】场景+问题概述
性能分析不成功
【背景】做过哪些操作
点击性能分析
【现象】业务和数据库现象
{"error":true,"message":"error.api.other: record not found","code":"error.api.other","full_text":"error.api.other: record not found\
at github.com/pingcap/tidb-dashboard/pkg/apiserver/utils.NewAPIError()
\t/go/pkg/mod/github.com/pingcap/tidb-dashboard@v0.0.0-20210512074702-4ee3e3909d5e/pkg/apiserver/utils/error.go:67
at github.com/pingcap/tidb-dashboard/pkg/apiserver/utils.MWHandleErrors.func1()
\t/go/pkg/mod/github.com/pingcap/tidb-dashboard@v0.0.0-20210512074702-4ee3e3909d5e/pkg/apiserver/utils/error.go:96
at github.com/gin-gonic/gin.(*Context).Next()
\t/go/pkg/mod/github.com/gin-gonic/gin@v1.5.0/context.go:147
at github.com/gin-contrib/gzip.Gzip.func2()
\t/go/pkg/mod/github.com/gin-contrib/gzip@v0.0.1/gzip.go:47
at github.com/gin-gonic/gin.(*Context).Next()
\t/go/pkg/mod/github.com/gin-gonic/gin@v1.5.0/context.go:147
at github.com/gin-gonic/gin.RecoveryWithWriter.func1()
\t/go/pkg/mod/github.com/gin-gonic/gin@v1.5.0/recovery.go:83
at github.com/gin-gonic/gin.(*Context).Next()
\t/go/pkg/mod/github.com/gin-gonic/gin@v1.5.0/context.go:147
at github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()
\t/go/pkg/mod/github.com/gin-gonic/gin@v1.5.0/gin.go:403
at github.com/gin-gonic/gin.(*Engine).ServeHTTP()
\t/go/pkg/mod/github.com/gin-gonic/gin@v1.5.0/gin.go:364
at github.com/pingcap/tidb-dashboard/pkg/apiserver.(*Service).handler()
\t/go/pkg/mod/github.com/pingcap/tidb-dashboard@v0.0.0-20210512074702-4ee3e3909d5e/pkg/apiserver/apiserver.go:198
at net/http.HandlerFunc.ServeHTTP()
\t/usr/local/go/src/net/http/server.go:2007
at github.com/pingcap/tidb-dashboard/pkg/utils.(*ServiceStatus).NewStatusAwareHandler.func1()
\t/go/pkg/mod/github.com/pingcap/tidb-dashboard@v0.0.0-20210512074702-4ee3e3909d5e/pkg/utils/service_status.go:79
at net/http.HandlerFunc.ServeHTTP()
\t/usr/local/go/src/net/http/server.go:2007
at net/http.(*ServeMux).ServeHTTP()
\t/usr/local/go/src/net/http/server.go:2387
at go.etcd.io/etcd/embed.(*accessController).ServeHTTP()
\t/go/pkg/mod/go.etcd.io/etcd@v0.5.0-alpha.5.0.20191023171146-3cf2f69b5738/embed/serve.go:359
at net/http.serverHandler.ServeHTTP()
\t/usr/local/go/src/net/http/server.go:2802
at net/http.(*conn).serve()
\t/usr/local/go/src/net/http/server.go:1890
at runtime.goexit()
\t/usr/local/go/src/runtime/asm_amd64.s:1357"}
【业务影响】
【TiDB 版本】
Release Version: v5.0.2
Edition: Community
Git Commit Hash: dc40a093a0058b95fc859f60d4b84337dbdff9f6
Git Branch: heads/refs/tags/v5.0.2
UTC Build Time: 2021-06-07 08:42:39
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false