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

Only preempt for network when there is a network #5794

Merged
merged 2 commits into from
Jun 10, 2019

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Jun 7, 2019

When examining preemption for networks, only consider allocs that have networks.

This is PR is broken into two commits to demonstrate the problem:

Fixes #5793

Mahmood Ali added 2 commits June 7, 2019 18:55
When examining preemption for networks, only consider allocs that have
networks.

Fixes #5793
}

// We only check first network - TODO: why?!?!
net := networks[0]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is presumably because allocs can only be assigned a single network?

@notnoop notnoop requested a review from schmichael June 7, 2019 23:17
Copy link
Contributor

@preetapan preetapan left a comment

Choose a reason for hiding this comment

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

LGTM, like the test for it too.

@notnoop notnoop merged commit 21a617a into master Jun 10, 2019
notnoop pushed a commit that referenced this pull request Jun 10, 2019
@notnoop notnoop deleted the b-preemption-network-panic branch June 14, 2019 17:49
@github-actions
Copy link

github-actions bot commented Feb 8, 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 Feb 8, 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.

Nomad server panics when upgrading to 0.9.2
2 participants