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

adjust end evict scheduler func #680

Merged
merged 2 commits into from
Jul 23, 2019

Conversation

xiaojingchen
Copy link
Contributor

What problem does this PR solve?

cause the PD delete leader evict scheduler operate is async, so the API return 200 can not ensure the scheduler has been deleted.
this PR adjust the EndEvictLeader function, make it return success only when the leader evict scheduler has not existed in scheduler list.

Check List

Tests

  • Unit test
  • E2E test
  • Stability test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

  • Has Go code change

Related changes

NONE

Does this PR introduce a user-facing change?:

NONE

@xiaojingchen xiaojingchen added this to the v1.0.0 milestone Jul 23, 2019
@xiaojingchen
Copy link
Contributor Author

/run-e2e-tests

@weekface weekface merged commit 344a33a into pingcap:master Jul 23, 2019
@xiaojingchen xiaojingchen deleted the adjust-end-evict-scheduler-func branch July 23, 2019 10:01
weekface pushed a commit that referenced this pull request Jul 29, 2019
yahonda pushed a commit that referenced this pull request Dec 27, 2021
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
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.

3 participants