10gen / mongo-orchestration

Apache License 2.0
7 stars 11 forks source link

Make `mongo-orchestration stop` faster #278

Closed ShaneHarvey closed 1 year ago

ShaneHarvey commented 4 years ago

After https://github.com/10gen/mongo-orchestration/pull/276, mongo-orchestration stop will block until all the clusters are shutdown. This uses the shutdown command on all running servers which can take a long time especially on newer server versions: 30 seconds for latest-sharded-cluster.

We should optimize mongo-orchestration stop by killing the servers with a signal instead of using the shutdown command.

ShaneHarvey commented 4 years ago

We should also put a reasonable time limit on waiting for the MO server to exit. CC @jyemin.

ShaneHarvey commented 1 year ago

This was fixed by https://github.com/10gen/mongo-orchestration/pull/299.