tikv / tikv/pd

[dr-autosync]region can't be balance after scale out tikvs in primary datacenter in async mode

Open
#7,266 3 comments 0 reactions 1 assignee Claimed by @disksing View on GitHub
affects-8.1 affects-8.5 may-affects-5.3 may-affects-5.4 may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 severity/major type/bug
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Bug Report

### What did you do?

1. down 2 tikvs in 2 zone in the backup data center, and make the replication mode switch to async mode;
2. scale out 3 tikv for 3 zones in the primary data center;

### What did you expect to see?
New scaled out tikv should balance with existing tikvs in primary data center.

### What did you see instead?
![image](https://github.com/tikv/pd/assets/9443637/0c4660a2-12e3-4a52-afba-954b54d36596)

![image](https://github.com/tikv/pd/assets/9443637/6b69de82-1b96-4210-bf34-9fc2160d429e)

### What version of PD are you using (`pd-server -V`)?
sh-4.2# /tiup/deploy/pd-2379/bin/pd-server -V
Release Version: v6.5.0-latest1025
Edition: Community
Git Commit Hash: e0ab17c4c684cdffd87b20d0d8486bbc81a60b1d
Git Branch: heads/refs/tags/v6.5.0-latest1025
UTC Build Time: 2023-10-25 05:05:51

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.