-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
TaskGroupPriority only compare When TaskGroup is same #15486
TaskGroupPriority only compare When TaskGroup is same #15486
Conversation
a255d4d
to
f8ed640
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev #15486 +/- ##
=========================================
Coverage 38.02% 38.03%
- Complexity 4687 4688 +1
=========================================
Files 1304 1304
Lines 44786 44791 +5
Branches 4802 4803 +1
=========================================
+ Hits 17030 17035 +5
Misses 25904 25904
Partials 1852 1852 ☔ View full report in Codecov by Sentry. |
ccfbcdc
to
e67b417
Compare
e67b417
to
c9a54e9
Compare
Quality Gate failedFailed conditions 50.6% Coverage on New Code (required ≥ 60%) |
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.
LGTM
Long.compare(o1.getTaskInstancePriority().getCode(), o2.getTaskInstancePriority().getCode()); | ||
|
||
if (o1.getTaskGroupId() == o2.getTaskGroupId()) { | ||
// Is at the same taskGroup |
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.
hi @ruanwenjun Do we change it to If at the same taskGroup
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.
others LGTM
Purpose of the pull request
Fix taskGroup priority will be used as compare rule when the two task instance is not at the same queue
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
If your pull request contain incompatible change, you should also add it to
docs/docs/en/guide/upgrede/incompatible.md