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

Balance region is too slow #4990

Closed
rleungx opened this issue May 19, 2022 · 2 comments · Fixed by #5254
Closed

Balance region is too slow #4990

rleungx opened this issue May 19, 2022 · 2 comments · Fixed by #5254
Assignees
Labels
affects-6.1 component/schedule Scheduling logic. severity/major type/bug The issue is confirmed as a bug.

Comments

@rleungx
Copy link
Member

rleungx commented May 19, 2022

Bug Report

What did you do?

Scale out two TiKV.

What did you expect to see?

Balance speed in a reasonable value

What did you see instead?

Screen Shot 2022-05-19 at 11 42 24 AM
Screen Shot 2022-05-19 at 2 55 41 PM

But from the debug log:

[2022/05/19 14:42:34.465 +08:00] [DEBUG] [utils.go:126] ["skip balance region"] [scheduler=balance-region-scheduler] [region-id=7902] [source-store=2] [target-store=20341] [source-size=92339] [source-score=142775.35001723023] [source-influence=0] [target-size=46986] [target-score=5715141991.420612] [target-influence=90] [average-region-size=73] [tolerant-resource=0]

The target score is 5715141991.420612 which is not expected.

What version of PD are you using (pd-server -V)?

master

@rleungx rleungx added the type/bug The issue is confirmed as a bug. label May 19, 2022
@mayjiang0203
Copy link

/severity major

@bufferflies
Copy link
Contributor

ref: #4654

ti-chi-bot added a commit that referenced this issue Jul 18, 2022
…uence amp. (#5254)

close #4990

schedulers: speed up the balance-region-scheduler by decrease influence amp

Signed-off-by: bufferflies <1045931706@qq.com>

Co-authored-by: ShuNing <nolouch@gmail.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ti-chi-bot added a commit that referenced this issue Jul 18, 2022
…uence amp. (#5254) (#5320)

close #4990, ref #5254

schedulers: speed up the balance-region-scheduler by decrease influence amp

Signed-off-by: bufferflies <1045931706@qq.com>

Co-authored-by: bufferflies <1045931706@qq.com>
Co-authored-by: buffer <1045931706@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.1 component/schedule Scheduling logic. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants