tikv / tikv/pd

Prevent rebalancing immediately after resetting the cache

Open
#8,634 0 comments 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

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

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.