Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rleungx opened this issue Jul 31, 2023 · 0 comments
Open

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

rleungx opened this issue Jul 31, 2023 · 0 comments
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@rleungx
Copy link
Member

rleungx commented Jul 31, 2023

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.

@rleungx rleungx added the type/enhancement The issue or PR belongs to an enhancement. label Jul 31, 2023
ti-chi-bot bot added a commit that referenced this issue Aug 1, 2023
ref #6861

Signed-off-by: Ryan Leung <[email protected]>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant