Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent rebalancing immediately after resetting the cache #8634

Open
rleungx opened this issue Sep 18, 2024 · 0 comments
Open

Prevent rebalancing immediately after resetting the cache #8634

rleungx opened this issue Sep 18, 2024 · 0 comments
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@rleungx
Copy link
Member

rleungx commented Sep 18, 2024

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 rleungx added the type/enhancement The issue or PR belongs to an enhancement. label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant