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

Blocked evaluation fixes #4867

Merged
merged 6 commits into from
Nov 13, 2018
Merged

Blocked evaluation fixes #4867

merged 6 commits into from
Nov 13, 2018

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Nov 13, 2018

This PR has two blocked evaluation fixes:

Job tracking in the blocked eval tracker now handles namespaces
Improve cancelling of duplicate blocked evaluations such that new
information is not lost

dadgar and others added 6 commits November 7, 2018 10:08
The old logic for cancelling duplicate blocked evaluations by job id had
the issue where the newer evaluation could have additional node classes
that it is (in)eligible for that we would not capture. This could make
it such that cluster state could change such that the job would make
progress but no evaluation was unblocked.
t.Fatalf("bad: %#v", bStats)
}

// Add an older evaluation and assert it gets cancelled
Copy link
Member

Choose a reason for hiding this comment

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

Can you also add a test case for the other way around (add an eval thats older than the current one so that its marked as the duplicate)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

e1-e3 are that, e4 tests that we can cancel the incoming

@dadgar dadgar merged commit 895fdb7 into master Nov 13, 2018
@dadgar dadgar deleted the b-deployment-progress-deadline branch November 13, 2018 18:29
@github-actions
Copy link

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 Feb 24, 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.

None yet

2 participants