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

GetLabelRules incorrectly returned all the region label rules #55188

Closed
JmPotato opened this issue Aug 5, 2024 · 0 comments · Fixed by #55189
Closed

GetLabelRules incorrectly returned all the region label rules #55188

JmPotato opened this issue Aug 5, 2024 · 0 comments · Fixed by #55189

Comments

@JmPotato
Copy link
Member

JmPotato commented Aug 5, 2024

Bug Report

https://github.com/pingcap/tidb/pull/48738/files#diff-051fd616da576bb20e1a1db0e250fda5daef59ab46f38c778e173b07e1f71d06R64 incorrectly used the interface to get all region label rules, resulting in the passed ruleIDs not being used correctly. This changed the behavior that may cause critical bugs.

@JmPotato JmPotato added the type/bug The issue is confirmed as a bug. label Aug 5, 2024
ti-chi-bot bot pushed a commit to tikv/pd that referenced this issue Aug 5, 2024
close #8491, ref pingcap/tidb#55188

Fix the URI of `GetRegionLabelRulesByIDs` to correct the call.

Signed-off-by: JmPotato <ghzpotato@gmail.com>
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this issue Aug 5, 2024
close tikv#8491, ref pingcap/tidb#55188

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot bot pushed a commit to tikv/pd that referenced this issue Aug 5, 2024
close #8491, ref pingcap/tidb#55188

Fix the URI of `GetRegionLabelRulesByIDs` to correct the call.

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: JmPotato <ghzpotato@gmail.com>

Co-authored-by: JmPotato <ghzpotato@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants