Closed nolouch closed 1 year ago
Also some existed problems can be found in https://github.com/tikv/pd/issues/3807
Also some existed problems can be found in #3749
there are two way to solved the problem that schedulers influenced each other: one way: one operator enter to operator control should only have one OpKind even if the region has many OpKind, the priority is blow(order by the operator cost):
OpMerge >OpHotRegion> OpRange>OpSplit>OpReplica>OpRegion>OpLeader
the other way: modify the scheduler/checker isAllowed condition by subtracting the other OpKind Operators, such as:
balance region scheduler: count(OpRegion)-count(OpMerge)-count(OpHotRegion)<region scheduler limit
leader region scheduler: count(OpLeader)-count(OpMerge)-count(OpHotRegion)<leader scheduler limit
the relation between OpKind with scheduler(checker) is blow In past:
Let remove-extras-peer
not limit #3865
@bufferflies Can we close it?
Background
Scenario 1: Due to the drop table operation, a large number of merge operations are continuously occurring, and the balance-leader is restricted by the leader-schedule-limit, resulting in the conflict.
Scenario 2: store limit is shared by multiple schedulers.
details
hot-region
.store limit
, such as allow preemption with priority.