tikv / pd

Placement driver for TiKV
Apache License 2.0
1.06k stars 724 forks source link

api: return error when create grant/evict leader scheduler (#8760) #8777

Closed ti-chi-bot closed 3 weeks ago

ti-chi-bot commented 3 weeks ago

This is an automated cherry-pick of #8760

What problem does this PR solve?

Issue Number: Ref https://github.com/tikv/pd/issues/8759

What is changed and how does it work?

Check List

Tests

Release note

Fix an issue that pd can't report error normally when creating grant/evict leader scheduler.
ti-chi-bot[bot] commented 3 weeks ago

@okJiang: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to [this](https://github.com/tikv/pd/pull/8777#pullrequestreview-2417542438): > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
ti-chi-bot[bot] commented 3 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JmPotato, lhy1024, okJiang

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: - ~~[OWNERS](https://github.com/tikv/pd/blob/release-6.5/OWNERS)~~ [JmPotato,lhy1024] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ti-chi-bot[bot] commented 3 weeks ago

[LGTM Timeline notifier]

Timeline: