From e69bb90a0d6c65412259991183c80b3f4473a974 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Thu, 28 Mar 2024 11:41:36 +0800 Subject: [PATCH 1/2] hide trace-region-flow Signed-off-by: Ryan Leung --- server/config/config.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/config/config.go b/server/config/config.go index 78851a03312..c2d18e9494e 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -1102,9 +1102,6 @@ func (c *PDServerConfig) adjust(meta *configutil.ConfigMetaData) error { if !meta.IsDefined("dashboard-address") { c.DashboardAddress = defaultDashboardAddress } - if !meta.IsDefined("trace-region-flow") { - c.TraceRegionFlow = defaultTraceRegionFlow - } if !meta.IsDefined("flow-round-by-digit") { configutil.AdjustInt(&c.FlowRoundByDigit, defaultFlowRoundByDigit) } From e44866033b40efded00638ca07ec983fa5edf5bb Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Mon, 15 Apr 2024 16:29:08 +0800 Subject: [PATCH 2/2] fix Signed-off-by: Ryan Leung --- server/config/config.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/config/config.go b/server/config/config.go index c2d18e9494e..e7589dfd3f0 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -199,7 +199,6 @@ const ( defaultLeaderPriorityCheckInterval = time.Minute defaultUseRegionStorage = true - defaultTraceRegionFlow = true defaultFlowRoundByDigit = 3 // KB maxTraceFlowRoundByDigit = 5 // 0.1 MB defaultMaxResetTSGap = 24 * time.Hour