File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -249,11 +249,13 @@ func (suite *scheduleTestSuite) checkAPI(cluster *tests.TestCluster) {
249249 "min-hot-byte-rate" : 100.0 ,
250250 "min-hot-key-rate" : 10.0 ,
251251 "min-hot-query-rate" : 10.0 ,
252+ "min-hot-cpu-rate" : 1.0 ,
252253 "max-zombie-rounds" : 3.0 ,
253254 "max-peer-number" : 1000.0 ,
254255 "byte-rate-rank-step-ratio" : 0.05 ,
255256 "key-rate-rank-step-ratio" : 0.05 ,
256257 "query-rate-rank-step-ratio" : 0.05 ,
258+ "cpu-rate-rank-step-ratio" : 0.05 ,
257259 "count-rank-step-ratio" : 0.01 ,
258260 "great-dec-ratio" : 0.95 ,
259261 "minor-dec-ratio" : 0.99 ,
Original file line number Diff line number Diff line change @@ -718,6 +718,7 @@ var hiddenHotConfig = []string{
718718 "byte-rate-rank-step-ratio" ,
719719 "key-rate-rank-step-ratio" ,
720720 "query-rate-rank-step-ratio" ,
721+ "cpu-rate-rank-step-ratio" ,
721722 "count-rank-step-ratio" ,
722723 "great-dec-ratio" ,
723724 "minor-dec-ratio" ,
Original file line number Diff line number Diff line change @@ -700,6 +700,7 @@ func (suite *schedulerTestSuite) checkHotRegionSchedulerConfig(cluster *pdTests.
700700 "min-hot-byte-rate" : float64 (100 ),
701701 "min-hot-key-rate" : float64 (10 ),
702702 "min-hot-query-rate" : float64 (10 ),
703+ "min-hot-cpu-rate" : float64 (1 ),
703704 "src-tolerance-ratio" : 1.05 ,
704705 "dst-tolerance-ratio" : 1.05 ,
705706 "read-priorities" : []any {"byte" , "key" },
You can’t perform that action at this time.
0 commit comments