diff --git a/server/config/config.go b/server/config/config.go index 86306de7cc9..3b5760b3b84 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -205,7 +205,6 @@ const ( defaultLeaderPriorityCheckInterval = time.Minute defaultUseRegionStorage = true - defaultTraceRegionFlow = true defaultFlowRoundByDigit = 3 // KB maxTraceFlowRoundByDigit = 5 // 0.1 MB defaultMaxResetTSGap = 24 * time.Hour @@ -542,9 +541,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) }