Skip to content

statistics, scheduler: unreasonable two sets of hotspot thresholds #5155

@lhy1024

Description

@lhy1024

For scheduler:

MinHotByteRate: 100,
MinHotKeyRate: 10,
MinHotQueryRate: 10,

For statistics:
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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions