Closed ticean closed 6 years ago
The WIP status has just been removed from the PR in Meteor that updates to be MongoDB 3.6 compatible. See: https://github.com/meteor/meteor/pull/9632 I'd suggest not setting this in stone in docs, etc.. as the upgrade path is not [hopefully] too far away.
It appears that Meteor 1.7 has a fix for this. Need to verify fixed after updating.
I believe we can close this. Meteor 1.7 shipped with MongoDB 3.6.4 and I've been running Reaction with MongoDB 3.6.x with no issue whatsoever.
We have also been running Mongo 3.6 in load testing so am closing.
Prerequisites
Issue Description
Reaction v1.8.1 does not work correctly with Mongo 3.6. Things work fine in Mongo 3.4. This issue was originally reported in https://github.com/reactioncommerce/reaction/issues/3491, though the cause was unknown when originally reported there.
We are pinning the Mongo version in the Docker Compose files to
mongo:3.4
in #3653. This will get things working immediately but doesn't add support for 3.6.Here are the errors thrown when the process attempts to load the Reaction fixtures in Mongo 3.6:
Steps to Reproduce
Docker Compose
Please provide starting context, i.e. logged in as a user, configure a particular payment method.
mongo
service indocker-compose.yml
to set to version 3.6.Local Meteor Dev Environment
This is also reproducible in a local Meteor development environment.
mongo
service indocker-compose.yml
to set to version 3.6.MONGO_URL
set. (Meteor should use the Mongo 3.6 from Docker Compose, assuming Docker for Mac.)Possible Solution
The issue is discussed in https://github.com/Automattic/mongoose/issues/5973.
Versions
These are the version from my host machine, but testing was performed from Docker images.