tikv / tikv/pd

The replica distribution may not meet the requirement in a short time

Open
#6,861 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
Consider such a case, we have 3 dc, 2 tables. Table A is 3 replicas and uses the placement rule to force the leader to deploy in dc 1 and dc 2. Another table B is 5 replicas, dc 1 and dc 2 have 3 replicas, and dc 3 has 2 replicas. If table A is split from table B, it might encounter that table A will have 5 replicas and the leader might be in dc 3. Moreover, if the checker doesn't fix it immediately, it will continue split regions with 5 replicas and their leader will be in dc 3.

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.