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

Accelerate the speed of loading regions #5606

Open
rleungx opened this issue Oct 17, 2022 · 1 comment
Open

Accelerate the speed of loading regions #5606

rleungx opened this issue Oct 17, 2022 · 1 comment
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@rleungx
Copy link
Member

rleungx commented Oct 17, 2022

Enhancement Task

In a large cluster, when PD is restarted, it cannot be the leader only when it finishes loading all regions into memory. But this process will be slow if the number of regions is large, which could affect the availability of TiDB. We need to accelerate this process or use other mechanisms to reduce the unavailable time as much as possible.

Screen Shot 2022-10-18 at 4 47 39 PM

@rleungx rleungx added the type/enhancement The issue or PR belongs to an enhancement. label Oct 17, 2022
@rleungx
Copy link
Member Author

rleungx commented Oct 18, 2022

After a discussion, we are going to add a new API to get the synchronized state and let TiUP do some checks to reduce the unavailable time.

ti-chi-bot added a commit that referenced this issue Oct 27, 2022
ref #5606

Signed-off-by: Ryan Leung <[email protected]>

Co-authored-by: Ti Chi Robot <[email protected]>
ti-chi-bot added a commit that referenced this issue Nov 30, 2022
ref #5606, ref #5648

Signed-off-by: Ryan Leung <[email protected]>

Co-authored-by: Ti Chi Robot <[email protected]>
ti-chi-bot added a commit that referenced this issue Dec 8, 2022
ref #5606, ref #5648

Signed-off-by: Ryan Leung <[email protected]>

Co-authored-by: Ti Chi Robot <[email protected]>
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