statistics, scheduler: unreasonable two sets of hotspot thresholds
Open
component/scheduler
component/statistics
type/enhancement
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 783
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 36
Description
For scheduler:
https://github.com/tikv/pd/blob/d263b8586123387d219bdccf9a1733632ab0d9c2/server/schedulers/hot_region_config.go#L66-L68
For statistics:
https://github.com/tikv/pd/blob/d263b8586123387d219bdccf9a1733632ab0d9c2/server/statistics/hot_peer_cache.go#L45-L52
And there is another hot peer threshold in tikv.
https://github.com/tikv/tikv/blob/fd5f88a7fdda1bf70dcb0d239f60137110c54d46/components/raftstore/src/store/worker/pd.rs#L719-L721
Contributor guide
Assessment
This issue has not been assessed yet.