tikv / tikv/pd

hot region: dynamic update the hot region threshold

Open
#9,683 1 comment 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Enhancement Task
Currently, pd identifies the region as hot only when the flow of this region is bigger than the fixed threshold. But sometimes, there are many small flows in many regions; the store flow is big, but every region flow is small.

related code:
https://github.com/tikv/pd/blob/8bc2311c49dc2ccb2d30478e165804c315d05e57/pkg/statistics/utils/constant.go#L38-L46

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.