-
Notifications
You must be signed in to change notification settings - Fork 742
Open
Labels
component/schedulerScheduler logic.Scheduler logic.component/statisticsStatistics for scheduling.Statistics for scheduling.type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
For scheduler:
pd/server/schedulers/hot_region_config.go
Lines 66 to 68 in d263b85
MinHotByteRate: 100, | |
MinHotKeyRate: 10, | |
MinHotQueryRate: 10, |
For statistics:
pd/server/statistics/hot_peer_cache.go
Lines 45 to 52 in d263b85
var minHotThresholds = [RegionStatCount]float64{ | |
RegionWriteBytes: 1 * 1024, | |
RegionWriteKeys: 32, | |
RegionWriteQuery: 32, | |
RegionReadBytes: 8 * 1024, | |
RegionReadKeys: 128, | |
RegionReadQuery: 128, | |
} |
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
Metadata
Metadata
Assignees
Labels
component/schedulerScheduler logic.Scheduler logic.component/statisticsStatistics for scheduling.Statistics for scheduling.type/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.