Skip to content

Commit e9a1f7f

Browse files
authored
br: disable stats for log task (pingcap#55261)
ref pingcap#52088
1 parent 2ed1798 commit e9a1f7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

br/cmd/br/stream.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
"github.com/pingcap/tidb/br/pkg/trace"
2222
"github.com/pingcap/tidb/br/pkg/utils"
2323
"github.com/pingcap/tidb/br/pkg/version/build"
24+
"github.com/pingcap/tidb/session"
2425
"github.com/spf13/cobra"
2526
"sourcegraph.com/sourcegraph/appdash"
2627
)
@@ -38,6 +39,7 @@ func NewStreamCommand() *cobra.Command {
3839
build.LogInfo(build.BR)
3940
utils.LogEnvVariables()
4041
task.LogArguments(c)
42+
session.DisableStats4Test()
4143
return nil
4244
},
4345
}

0 commit comments

Comments
 (0)