-
Notifications
You must be signed in to change notification settings - Fork 725
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
api: return error when create grant/evict leader scheduler #8760
Conversation
…he same success message (tikv#7802) ref tikv#7672 Signed-off-by: husharp <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com> Signed-off-by: okJiang <[email protected]>
// we should ensure whether it is the first time to create evict-leader-scheduler | ||
// or just update the evict-leader. | ||
if exist { | ||
h.r.JSON(w, http.StatusOK, "The scheduler has been applied to the store.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need add a test for it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can add a test to master, and cp it to this pr
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lhy1024, rleungx The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherry-pick release-7.1 |
@okJiang: new pull request created to branch In response to this:
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 ti-community-infra/tichi repository. |
…8769) ref #8759 Signed-off-by: husharp <[email protected]> Signed-off-by: okJiang <[email protected]> Co-authored-by: Hu# <[email protected]>
/cherry-pick release-6.5 |
@okJiang: new pull request created to branch In response to this:
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 ti-community-infra/tichi repository. |
…8777) ref #8759 Signed-off-by: husharp <[email protected]> Signed-off-by: okJiang <[email protected]> Co-authored-by: Hu# <[email protected]>
What problem does this PR solve?
Issue Number: Ref #8759
What is changed and how does it work?
Check List
Tests
Release note