From e9a1f7f92040d87eb2ac5a4c7986d3eff86e5031 Mon Sep 17 00:00:00 2001 From: Jianjun Liao <36503113+Leavrth@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:29:11 +0800 Subject: [PATCH] br: disable stats for log task (#55261) ref pingcap/tidb#52088 --- br/cmd/br/stream.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/br/cmd/br/stream.go b/br/cmd/br/stream.go index f452e38917ea5..48b0d280c8154 100644 --- a/br/cmd/br/stream.go +++ b/br/cmd/br/stream.go @@ -21,6 +21,7 @@ import ( "github.com/pingcap/tidb/br/pkg/trace" "github.com/pingcap/tidb/br/pkg/utils" "github.com/pingcap/tidb/br/pkg/version/build" + "github.com/pingcap/tidb/session" "github.com/spf13/cobra" "sourcegraph.com/sourcegraph/appdash" ) @@ -38,6 +39,7 @@ func NewStreamCommand() *cobra.Command { build.LogInfo(build.BR) utils.LogEnvVariables() task.LogArguments(c) + session.DisableStats4Test() return nil }, }