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

Force mlaunch --csrs when "version" is 0.0.0 #576

Merged
merged 1 commit into from
Mar 11, 2018

Conversation

devkev
Copy link
Contributor

@devkev devkev commented Mar 7, 2018

This (fake) version is commonly used when compiling development versions of the
MongoDB server (via scons MONGO_VERSION=0.0.0) (as a way of avoiding
unnecessarily rebuilding version-related object files after each commit).
However, a mongod version of 0.0.0 caused mlaunch --csrs to exit, since
(apparently) "0.0.0" < "3.1.0". This prevented mlaunch --sharded from
launching sharded clusters of current development versions of MongoDB which
have been compiled this way.

This change makes mlaunch use --csrs when the mongod version is 0.0.0,
which allows it to work correctly with all currently supported server branches
(v3.2, v3.4, v3.6, master) that have been compiled with MONGO_VERSION=0.0.0.

Description of changes

Testing

O/S testing:

O/S Version(s)
Linux
macOS
Windows

This (fake) version is commonly used when compiling development versions of the
MongoDB server (via `scons MONGO_VERSION=0.0.0`) (as a way of avoiding
unnecessarily rebuilding version-related object files after each commit).
However, a mongod version of `0.0.0` caused `mlaunch --csrs` to exit, since
(apparently) `"0.0.0" < "3.1.0"`.  This prevented `mlaunch --sharded` from
launching sharded clusters of current development versions of MongoDB which
have been compiled this way.

This change makes mlaunch use `--csrs` when the mongod version is `0.0.0`,
which allows it to work correctly with all currently supported server branches
(v3.2, v3.4, v3.6, master) that have been compiled with `MONGO_VERSION=0.0.0`.
@stennie stennie requested a review from sindbach March 7, 2018 21:55
@sindbach sindbach merged commit 0af1911 into rueckstiess:develop Mar 11, 2018
@stennie stennie added this to the 1.4.0 milestone Apr 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants