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

Pin bundled mongo to 2.6 to avoid in-place upgrade woes #2361

Merged
merged 2 commits into from Aug 11, 2016

Conversation

zarvox
Copy link
Collaborator

@zarvox zarvox commented Aug 10, 2016

sandstorm-84 and earlier shipped mongo 2.4, which creates its auth schema in a
different way than mongo 2.6 and above. While mongo 2.6 is able to read said
schema, mongo 3.2 is not.

To avoid breaking servers that were originally installed with mongo 2.4, we
can't jump to mongo 3.2 just yet. Mongo 2.6 is still fine, and Meteor remains
backwards-compatible with Mongo 2.6, so we can continue shipping this for a while.

This change makes make-bundle.sh cache a copy of sandstorm-171 (the latest
release as of this writing) and copy its mongo/mongod into the new bundle,
rather than pulling those binaries from the current Meteor dev bundle.

Additional notes on mongo upgrades:

sandstorm-84 and earlier shipped mongo 2.4, which creates its auth schema in a
different way than mongo 2.6 and above.  While mongo 2.6 is able to read said
schema, mongo 3.2 is not.

To avoid breaking servers that were originally installed with mongo 2.4, we
can't jump to mongo 3.2 just yet.  Mongo 2.6 is still fine, and Meteor remains
backwards-compatible with Mongo 2.6, so we can continue shipping this for a while.

This change makes make-bundle.sh cache a copy of sandstorm-171 (the latest
release as of this writing) and copy its mongo/mongod into the new bundle,
rather than pulling those binaries from the current Meteor dev bundle.
@dwrensha
Copy link
Collaborator

I tried this out on my server. It appears to work.

This way, git won't list the file in `git status` and `make clean` won't wipe
it out and force you to re-download the bundle.
@kentonv kentonv merged commit 29f6f81 into sandstorm-io:master Aug 11, 2016
@zarvox zarvox deleted the pin-mongo-2.6 branch August 11, 2016 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants