Closed p-mongo closed 2 years ago
Code: https://github.com/rueckstiess/mtools/blob/develop/mtools/mlaunch/mlaunch.py#L1844
The printing of "initializing replica set" happens after the command is sent to the server to do so. If the command failed the announcement is printed after all of the retries finished.
The announcement should precede the command.
Fix: https://github.com/p-mongodb/mtools-legacy/commit/0b9abb5b77899b799ec58d07527d986336c85f96
Belated thanks @p-mongo !
Cheers, Stennie
Fixed via ba01571
Code: https://github.com/rueckstiess/mtools/blob/develop/mtools/mlaunch/mlaunch.py#L1844
The printing of "initializing replica set" happens after the command is sent to the server to do so. If the command failed the announcement is printed after all of the retries finished.
The announcement should precede the command.