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

Shutdown / Restart mechanism #29

Open
problame opened this issue Aug 23, 2016 · 1 comment
Open

Shutdown / Restart mechanism #29

problame opened this issue Aug 23, 2016 · 1 comment

Comments

@problame
Copy link
Member

problame commented Aug 23, 2016

Use panic(restart_object) to signal the desire to shut down MAMID inplace (i.e. close all DB connections, stop Monitoring & Deployment, ...) and then start again.

One could imagine functions as attributes on the restart_object that should be run while the other services...

@problame
Copy link
Member Author

problame commented Sep 4, 2016

Would require a new Mongod state in MSP: ForceNotRunning = {shutdown: 1, force:true}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant