-
Notifications
You must be signed in to change notification settings - Fork 753
affinity: refactor and address comments #10050
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
Conversation
Signed-off-by: lhy1024 <admin@liudos.us>
Signed-off-by: lhy1024 <admin@liudos.us>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #10050 +/- ##
==========================================
+ Coverage 78.40% 78.43% +0.03%
==========================================
Files 511 512 +1
Lines 68415 68520 +105
==========================================
+ Hits 53644 53747 +103
- Misses 10876 10877 +1
- Partials 3895 3896 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
| // RegularSchedulingAllowed indicates whether balance scheduling is allowed. | ||
| RegularSchedulingAllowed bool `json:"-"` | ||
| // AffinitySchedulingAllowed indicates whether affinity scheduling is allowed. | ||
| AffinitySchedulingAllowed bool `json:"-"` |
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.
is RegularSchedulingAllowed == !AffinitySchedulingAllowed?
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.
No, if the group is in degraded, they are both false.
rleungx
left a comment
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.
The rest LGTM
|
/retest |
1 similar comment
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: HunDunDM, rleungx The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test pull-integration-realcluster-test |
|
/test pull-integration-realcluster-test |
close tikv#9764 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
In response to a cherrypick label: new pull request created to branch |
close tikv#9764 Signed-off-by: lhy1024 <admin@liudos.us>
close tikv#9764 Signed-off-by: lhy1024 <admin@liudos.us>
close tikv#9764 Signed-off-by: lhy1024 <admin@liudos.us>
close tikv#9764 Signed-off-by: lhy1024 <admin@liudos.us>
close tikv#9764 Signed-off-by: lhy1024 <admin@liudos.us>

What problem does this PR solve?
Issue Number: Close #9764
What is changed and how does it work?
Check List
Tests
Release note