pd icon indicating copy to clipboard operation
pd copied to clipboard

Prevent rebalancing immediately after resetting the cache

Open rleungx opened this issue 5 months ago • 0 comments

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.

rleungx avatar Sep 18 '24 02:09 rleungx