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

allocrunner: terminate sidecars in the end #8311

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Jun 29, 2020

This fixes a bug where a batch allocation fails to complete if it has
sidecars.

If the only remaining running tasks in an allocations are sidecars - we
must kill them and mark the allocation as complete.

I attempt to keep overhead minimal in the typical case where sidecars aren't used.

Fixes #8165

This fixes a bug where a batch allocation fails to complete if it has
sidecars.

If the only remaining running tasks in an allocations are sidecars - we
must kill them and mark the allocation as complete.
@notnoop notnoop added this to the 0.12.0 milestone Jun 29, 2020
@notnoop notnoop requested a review from jazzyfresh June 29, 2020 19:32
@notnoop notnoop self-assigned this Jun 29, 2020
@notnoop notnoop merged commit 82c25e4 into master Jun 30, 2020
@notnoop notnoop deleted the b-terminate-sidecars-after-main branch June 30, 2020 15:01
@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 Dec 31, 2022
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.

Sidecar hangs after main tasks finish in batch jobs
2 participants