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

[POC] Add a cause field to JobPreemptedEvent #3881

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

JamesMurkin
Copy link
Contributor

This will now be populated with a cause for the job to be preempted

Allowing you to distinguish:

  • If this Preemption was caused by API request
  • If this Preemption was caused by Fair share preemption - and the preempting job id
  • If this Preemption was caused by Urgency based preemption - and the preempting job id(s)
    • We cannot always narrow this down to a single job, so it will be a comma separated list of job ids

This will now be populated with a cause for the job to be preempted

Allowing you to distinguish:
 - If this Preemption was caused by API request
 - If this Preemption was caused by Fair share preemption - and the preempting job id
 - If this Preemption was caused by Urgency based preemption - and the preempting job id(s)
   - We cannot always narrow this down to a single job, so it will be a comma separated list of job ids

Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com>
Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com>
@JamesMurkin JamesMurkin added the do-not-merge Do not merge this PR label Aug 16, 2024
Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com>
Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com>
Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com>
Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge Do not merge this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant