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

Remote manager shutdown #416

Open
2 tasks
dgasmith opened this issue Sep 30, 2019 · 1 comment
Open
2 tasks

Remote manager shutdown #416

dgasmith opened this issue Sep 30, 2019 · 1 comment
Labels
Compute Related to queue managers Database Related to the database storage layer
Milestone

Comments

@dgasmith
Copy link
Contributor

We should be able to remotely shut down a manager from the server. As we cannot do this actively (sending a signal directly to the manager) we need to do it passively. A suggest pathway is in the meta field of a all Manager REST calls we should check for a field called remote_shutdown or similar. If this is ever True the manager should shutdown and exit. This has two parts:

  • Placing hooks in the manager to allow shutdown. @Lnaden
  • Having the server emit this shutdown message. @dgasmith

In addition we should consider a field like shutdown_reason that would be presented in the logs.

@dgasmith dgasmith added Database Related to the database storage layer Compute Related to queue managers labels Sep 30, 2019
@j-wags
Copy link

j-wags commented Sep 30, 2019 via email

@mattwelborn mattwelborn added this to the v0.13.0 milestone Dec 2, 2019
@dgasmith dgasmith modified the milestones: v0.13.0, v0.14.0 Jan 14, 2020
@mattwelborn mattwelborn modified the milestones: v0.13.1, v0.14.0 Feb 18, 2020
@dgasmith dgasmith removed their assignment Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compute Related to queue managers Database Related to the database storage layer
Projects
None yet
Development

No branches or pull requests

4 participants