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

server: Add back controller shutdown on worker startup failure #1432

Merged

Conversation

vancluever
Copy link
Contributor

This adds back the controller shutdown call on worker failure.

This was added in a15961e to address a panic discovered in testing, and
was mistakenly thought to be unnecessary. This, however, covers
multi-role scenarios where we have already started the controller, which
needs to be shut down gracefully if possible if we can't start the
worker.

A nil check has been added to ensure the panic does not resurface.

This adds back the controller shutdown call on worker failure.

This was added in a15961e to address a panic discovered in testing, and
was mistakenly thought to be unnecessary. This, however, covers
multi-role scenarios where we have already started the controller, which
needs to be shut down gracefully if possible if we can't start the
worker.

A nil check has been added to ensure the panic does not resurface.
@vancluever vancluever requested a review from jefferai July 30, 2021 21:18
@github-actions github-actions bot added the core label Jul 30, 2021
jefferai
jefferai previously approved these changes Jul 30, 2021
Copy link
Member

@jefferai jefferai left a comment

Choose a reason for hiding this comment

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

Update the changelog and 👍

CHANGELOG.md Outdated Show resolved Hide resolved
@jefferai jefferai merged commit 947dc96 into main Aug 2, 2021
@jefferai jefferai deleted the vancluever-add-back-controller-shutdown-on-worker-startup branch August 2, 2021 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants