-
Notifications
You must be signed in to change notification settings - Fork 719
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
*: supports delete store label #5510
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
f8405f7
to
7e52960
Compare
Codecov ReportBase: 75.58% // Head: 75.48% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #5510 +/- ##
==========================================
- Coverage 75.58% 75.48% -0.11%
==========================================
Files 320 320
Lines 31769 31847 +78
==========================================
+ Hits 24014 24041 +27
- Misses 5691 5719 +28
- Partials 2064 2087 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
7e52960
to
161ee36
Compare
Signed-off-by: nolouch <nolouch@gmail.com>
e92f535
to
23d9cc2
Compare
Signed-off-by: nolouch <nolouch@gmail.com>
server/cluster/cluster.go
Outdated
} | ||
labels = append(labels, label) | ||
} | ||
if !hit { |
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 think we don't need hit
, can check if len(labels) == len(newStore.Labels)
instead.
PTAL @rleungx @CabinfeverB |
Signed-off-by: nolouch <nolouch@gmail.com>
Signed-off-by: nolouch <nolouch@gmail.com>
ptal @disksing |
/merge |
@nolouch: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests 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. |
This pull request has been accepted and is ready to merge. Commit hash: fa66b85
|
…6469) ref #5510, close #6467, ref #6468 #5510 introduced a bug that would cause the store labels to be overwritten wrongly after the store reboot. This PR fixed this issue. 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>
Signed-off-by: nolouch nolouch@gmail.com
What problem does this PR solve?
Issue Number: Close #5509
What is changed and how does it work?
Check List
Tests
Release note