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

Make evict leader scheduler compatitable (#1831) #1841

Merged
merged 6 commits into from
Mar 3, 2020

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Mar 2, 2020

cherry-pick #1831 to release-1.1


What problem does this PR solve?

The result of the scheduler pdapi is in the following format as I showed below, the store id of the evict-leader-scheduler would be added at the end the of the scheduler name.

evict-2

However, in TiDB 4.0 release, the store-id would be omitted as I showed below.

evict-1

In this request, I add new method to make getting evict scheduler store id compatible between the current version and the coming 4.0 version.

Related changes

  • Need to cherry-pick to the release branch

Does this PR introduce a user-facing change?:

NONE

@Yisaer Yisaer merged commit d1f4b3c into pingcap:release-1.1 Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/webhook Related to webhook
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants