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

mlaunch start exits with status 1 when all nodes are running #732

Open
p-mongo opened this issue Sep 7, 2019 · 0 comments
Open

mlaunch start exits with status 1 when all nodes are running #732

p-mongo opened this issue Sep 7, 2019 · 0 comments

Comments

@p-mongo
Copy link
Contributor

p-mongo commented Sep 7, 2019

When mlaunch start is used to start a deployment which is already completely running, it exits with exit code 1:

butler% mlaunch start --dir /mnt/zram/sandbox/rs-restart
no nodes started.
butler% echo $?
1

This creates an issue in scripts.

If the semantics of start is "start all nodes in the deployment which are not running", if all nodes are already running then start should exit with a code of 0 I think.

Environment

Software Version
mtools 1.5.3
MongoDB server 4.4
Operating system Debian
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

2 participants