tikv / tikv/pd

`OperatorController.checkAddOperator` doesn't consider waiting queue when check whether region operator already exists

Open
#4,646 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Enhancement Task
There is a situation that operators cannot be added: the region already has a higher priority or same priority operator.
The following codes implement it.
![image](https://user-images.githubusercontent.com/23399268/154214676-7adf1098-c9ef-43cb-8f2b-7a3858b76704.png)
But it doesn't consider waiting queue. Some operators which will be canceled could be added.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.