tikv / tikv/pd

Performance issues of balance-region-scheduler

Open
#3,744 0 comments 0 reactions 1 assignee Claimed by @disksing View on GitHub
type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Development Task

[tests](https://gist.github.com/disksing/a1bf78007b674da7e15b52a9e25eb3a5) show that when there are too many stores in a cluster, `balance-region-scheduler` could have performance issues.

- [ ] Improve ruleChecker (waiting regions too long)
- [ ] Improve fitRegion
- [x] Improve `GetStoreRegionCount`
- [ ] Improve the big loop of `BalanceRegionScheduler`

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.