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

same job's diffenrent tasks should compare task's priority #1452

Merged
merged 1 commit into from
May 7, 2021

Conversation

lowang-bh
Copy link
Member

priority plugin's preemptableFn has 2 conditions to preempt: Preemption between Jobs and Preemption between Task within Job; so same job's diffenrent tasks should compare task's priority

Signed-off-by: lowang_bh lhui_wang@163.com

priority plugin's preemptableFn has 2 conditions to preempt: Preemption between Jobs and Preemption between Task within Job; so same job's diffenrent tasks should compare task's priority

Signed-off-by: lowang_bh <lhui_wang@163.com>
@volcano-sh-bot volcano-sh-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 6, 2021
@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label May 6, 2021
@volcano-sh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lowang-bh, Thor-wl

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@volcano-sh-bot volcano-sh-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 6, 2021
@Thor-wl Thor-wl requested a review from william-wang May 6, 2021 03:38
@wpeng102
Copy link
Member

wpeng102 commented May 7, 2021

/lgtm

} else {
victims = append(victims, preemptee)
}
} else { // same job's diffenrent tasks should compare task's priority
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo here, rest lgtm
/lgtm

@volcano-sh-bot volcano-sh-bot removed the lgtm Indicates that a PR is ready to be merged. label May 7, 2021
@Thor-wl
Copy link
Contributor

Thor-wl commented May 7, 2021

/lgtm

@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label May 7, 2021
@Thor-wl Thor-wl merged commit 040e40d into volcano-sh:master May 7, 2021
peiniliu pushed a commit to peiniliu/volcano that referenced this pull request Aug 27, 2021
…h#1452)

priority plugin's preemptableFn has 2 conditions to preempt: Preemption between Jobs and Preemption between Task within Job; so same job's diffenrent tasks should compare task's priority

Signed-off-by: lowang_bh <lhui_wang@163.com>
Signed-off-by: peiniliu <peini.liu@gmail.com>
@lowang-bh lowang-bh deleted the FixPriorityCmp branch June 10, 2023 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants