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

br restore splits too much regions if there are too many small tables whose data size is less than region size. #53532

Closed
Tracked by #50701
Leavrth opened this issue May 24, 2024 · 2 comments · Fixed by #55662
Labels
component/br This issue is related to BR of TiDB. severity/major type/bug The issue is confirmed as a bug.

Comments

@Leavrth
Copy link
Contributor

Leavrth commented May 24, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. create so many tables, but each table only has a little data.
  2. backup cluster with split-table=false/split-region-on-table=false
  3. restore cluster

2. What did you expect to see? (Required)

the number of regions of downstream cluster is closed to the number of upstream cluster.

3. What did you see instead (Required)

the number of regions has many regions.

4. What is your TiDB version? (Required)

master

@Leavrth Leavrth added type/bug The issue is confirmed as a bug. severity/moderate component/br This issue is related to BR of TiDB. labels May 24, 2024
@BornChanger
Copy link
Contributor

It's an extension of #50701

@Leavrth
Copy link
Contributor Author

Leavrth commented Aug 7, 2024

We need to do some clean work at first. See #52877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/br This issue is related to BR of TiDB. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
2 participants