Imbalanced leader when using placement rule to bind the leader #8023
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
report/customer
Customers have encountered this bug.
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement Task
Consider such a case:
Assume each table has only 3 regions. In z1, we denote 3 tikv as tikv1, tikv2, tikv3. Each tikv will have 3 regions but it doesn't have the concept of a table. So all tikv1's regions could belong to t1, which leads to the imbalanced leader phenomenon in z1.
Besides, the balance leader scheduler can only balance the leader among the zones since each zone only has one replica of a region. It also won't help.
We may need to consider this case.
The text was updated successfully, but these errors were encountered: