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

server: set timeout for MoveLeader (#1533) #1539

Closed
wants to merge 1 commit into from

Conversation

disksing
Copy link
Contributor

Signed-off-by: disksing i@disksing.com

What problem does this PR solve?

When multiple PDs calls MoveLeader, one will succeed and others will block in MoveLeader function.

What is changed and how it works?

Add timeout when calling MoveLeader.
Cherry-pick #1533

Check List

Tests

  • Integration test

* server: set timeout for MoveLeader

Signed-off-by: disksing <i@disksing.com>
@disksing
Copy link
Contributor Author

/run-all-tests tidb=release-3.0 tikv=release-3.0 tidb-test=release-3.0

@disksing disksing closed this May 16, 2019
@disksing disksing deleted the move-leader-3.0 branch May 16, 2019 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant