Prevent rebalancing immediately after resetting the cache
Open
type/enhancement
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 783
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 36
Description
## Enhancement Task
When we reset the cache through HTTP admin API or online recovery, the PD will rebalance the region and leader immediately. However, the region information that scheduling relies on is incomplete because of the gap in different region heartbeats. And the distribution of region won't change too much. So PD should wait for at least one round of region heartbeat.
Contributor guide
Assessment
This issue has not been assessed yet.