diff --git a/server/schedulers/hot_region_config.go b/server/schedulers/hot_region_config.go index 60edbb9fd454..27346abf486e 100644 --- a/server/schedulers/hot_region_config.go +++ b/server/schedulers/hot_region_config.go @@ -81,7 +81,7 @@ type hotRegionSchedulerConfig struct { WritePriorities []string `json:"write-priorities"` // Separately control whether to start hotspot scheduling for TiFlash - EnableForTiFlash bool `json:"enable-for-tiflash"` + EnableForTiFlash bool `json:"enable-for-tiflash,string"` } func (conf *hotRegionSchedulerConfig) EncodeConfig() ([]byte, error) {