From 511538e15abcc34f8cfcc206ffdd738ca4c12ddd Mon Sep 17 00:00:00 2001 From: Renan Castro Date: Thu, 3 Feb 2022 10:22:00 -0300 Subject: [PATCH] Update 2.6-migration.md --- guide/source/2.6-migration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guide/source/2.6-migration.md b/guide/source/2.6-migration.md index 26d30c68dc..e23b52a067 100644 --- a/guide/source/2.6-migration.md +++ b/guide/source/2.6-migration.md @@ -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.