tikv / tikv/pd

scheduler: better expectation and variance in hot region scheduler

Open
#5,545 0 comments 0 reactions 0 assignees View on GitHub
type/development
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Development Task

In 4.0, we use expectation to avoid creating redundant operators after #2297

In 6.3, we use variance to reduce schedule when the cluster has been enough uniform after #4912 and #5286

But we calculate expectation and variance without considering about placement-rules or machine performance, only distinguishing tikv and tiflash.

we need better expectation and variance in hot region scheduler, or could close then they can not work.

- [x] add config
- [ ] uniform toleranceRatio, stddevThreshold and balancedRatio
- [ ] consider about label

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.