Performance issues of balance-region-scheduler
Open
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
Assessment
This issue has not been assessed yet.