Update 2.6-migration.md

This commit is contained in:
Renan Castro
2022-02-03 10:22:00 -03:00
committed by GitHub
parent 90469dedaf
commit 511538e15a

View File

@@ -60,6 +60,7 @@ Here is a list of the changes that we have made to Meteor core packages in order
- waitForStepDownOnNonCommandShutdown=false is not needed anymore when spawning the mongodb process
- _synchronousCursor._dbCursor.operation is not an option anymore in the raw cursor from nodejs mongodb driver. If you want to access the options, use _synchronousCursor._dbCursor.(GETTERS) - for example, _synchronousCursor._dbCursor.readPreference.
- the default write preference for replica sets on mongo v5 is w:majority
- If you are using MongoDB inside a Docker container in your dev environment, you might need to append directConnection=true in your mongouri to avoid the new mongo driver Service Discovery feature
It's worth mentioning that if you are using the built-in MongoDB that Meteor provides to run your app locally, you need to perform a `meteor reset` on your app to be able to use the version 2.6.