You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pd: note that the scheduling microservice does not support label-property - #22016
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
The docs now state that the scheduling microservice does not support label-property, and they point to Placement Rules and evict-leader-scheduler as alternatives. One minor clarification is still open: the text does not say that evict-leader-scheduler must be updated when new stores are added. This does not block merging.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
标题“pd: note that the scheduling microservice does not support label-property”准确描述了主要变更:文档中新增 scheduling 微服务不支持已废弃 label-property 的说明。标题具体且与变更内容一致。
lhy1024
changed the title
pd: 说明 scheduling 微服务不支持 label-property
pd: note that the scheduling microservice does not support label-property
Oct 29, 2026
Reviewing files that changed from the base of the PR and between ced4dbc and 51b88e2.
Files selected for processing: 1
pd-microservices.md
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
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 kubernetes-sigs/prow repository.
Reviewing files that changed from the base of the PR and between 51b88e2 and 703033f.
Files selected for processing: 1
pd-microservices.md
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Functional Correctness · Quick win
说明替代方案的适用范围。
evict-leader-scheduler 按 store ID 配置,不会自动覆盖后来新增的同标签 store。用户从 label-property 迁移后,新增 store 仍可能接收 Leader。请说明需要为新增 store 更新调度器,并链接到配置方法;也请说明需要按标签持续约束时如何选择 Placement Rules。(raw.githubusercontent.com)
As per coding guidelines:“how to choose among multiple available methods”需要向用户说明。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added, or deleted? (Required)
在 PD 微服务使用限制和
label-property配置说明中补充:scheduling微服务不支持已废弃的label-property,需要让 Leader 不调度到特定 store 时应使用 Placement Rules 或evict-leader-scheduler。Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit
scheduling微服务时,不支持已废弃的label-property配置,reject-leader类型也不会生效。evict-leader-scheduler。scheduling微服务时,只有enable-scheduling-fallback为true(默认值),PD 才会提供调度功能;此时label-property配置仍会生效。