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

Check allocation's desired state in GC eligibility logic #4313

Merged
merged 1 commit into from
May 21, 2018

Conversation

preetapan
Copy link
Contributor

@preetapan preetapan commented May 21, 2018

Fixes #4287

The logic that checks for garbage collection eligibility waits for failed allocs to have a replacement ID if it has an unlimited reschedule policy. However, if a job that has failed allocs is updated to a newer version its desired state is "stop" and the GC logic was not taking that into account, causing it to never be eligible for GC.

@preetapan preetapan merged commit 369ac66 into master May 21, 2018
@preetapan preetapan deleted the b-alloc-gc-desiredstate branch May 21, 2018 23:49
@github-actions
Copy link

github-actions bot commented Mar 4, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants