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

Ensure pd leader is ready to serve when rolling update pd #2461

Open
AndreMouche opened this issue Oct 14, 2024 · 0 comments
Open

Ensure pd leader is ready to serve when rolling update pd #2461

AndreMouche opened this issue Oct 14, 2024 · 0 comments
Labels
type/enhancement Categorizes issue or PR as related to an enhancement.

Comments

@AndreMouche
Copy link

AndreMouche commented Oct 14, 2024

The PD leader needs to reload all regions' meta data into memory before it can serve, therefor for a big cluster, this process can take a relatively long time, such as 100 seconds or more.
During rolling update, if we transfer the pd leader to a PD node that has just been started, before load-region success, pd cannot provide services.
Here we suggest to wait some minutes before we try to transfer pd leader to a pd node that has just been started(restart the PD leader Node).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Categorizes issue or PR as related to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant