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

merge operator blocks the balance leader operations #3807

Closed
rleungx opened this issue Jun 21, 2021 · 5 comments · Fixed by #3820
Closed

merge operator blocks the balance leader operations #3807

rleungx opened this issue Jun 21, 2021 · 5 comments · Fixed by #3820
Assignees
Labels
severity/moderate type/bug The issue is confirmed as a bug.

Comments

@rleungx
Copy link
Member

rleungx commented Jun 21, 2021

Bug Report

What did you do?

Run a cluster, kill one TiKV, and restart it.

What did you expect to see?

The leader should be balanced quickly.

What did you see instead?

The merge operator spends 10 mins to become timeout. In this period, the balance leader cannot run due to the leader limit. Besides, one merge operator will occupy two leader limits if it contains a transfer leader step.
Screen Shot 2021-06-21 at 8 27 29 PM
Screen Shot 2021-06-21 at 8 28 09 PM

What version of PD are you using (pd-server -V)?

v5.0.2

@rleungx rleungx added the type/bug The issue is confirmed as a bug. label Jun 21, 2021
@Lily2025
Copy link

/severity Moderate

@nolouch
Copy link
Contributor

nolouch commented Jun 22, 2021

/assign

@rleungx
Copy link
Member Author

rleungx commented Jun 27, 2021

not only balance leader, may also block evict leader

@nolouch
Copy link
Contributor

nolouch commented Jun 30, 2021

/assign @bufferflies

@ti-chi-bot
Copy link
Member

@nolouch: GitHub didn't allow me to assign the following users: bufferflies.

Note that only tikv members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @bufferflies

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants