Upgrading MongoDB version from 3.6 to 4.x

Hi All

Running a Meteor 1.7 app in prod with MongoDB 3.6 via compose.

Compose will update my MongoDB from 3.6 up to 4.x later in the year.

Has anyone done this before? Is it safe to just bump the mongo version up or will i encounter issues?

Thanks kind forum

Check the mongodb node driver for that meteor version. Then check the supported mongodb version of that driver.

No not safe → follow carefully the release notes : Upgrade a Standalone to 4.0 — MongoDB Manual
Step by step : 3.6 → 4.0 → 4.2 → 4.4
Of course backup before migration :wink:
It seems possible to backup 3.6, update mongo and then restore in 4.4 (but I never tried)