diff --git a/server/config/config.go b/server/config/config.go index 78851a03312..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 @@ -1102,9 +1101,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) }