Downgrade 5.0 to 4.4
On this page
The following page summarizes various considerations for downgrading to 4.4. For specific instructions for your deployment type, see:
Downgrade Path
Important
Before you upgrade or downgrade a replica set, ensure all replica set members are running. If you do not, the upgrade or downgrade will not complete until all members are started.
If you need to downgrade from 5.0, downgrade to the latest patch release of 4.4.
MongoDB only supports single-version downgrades. You cannot downgrade to a release that is multiple versions behind your current release.
For example, you may downgrade a 5.0-series to a 4.4-series deployment. However, further downgrading that 4.4-series deployment to a 4.2-series deployment is not supported.
Create Backup
Optional but Recommended. Create a backup of your database.
Downgrade Feature Compatibility Version (fCV)
Before downgrading the binaries, you must downgrade the
featureCompatibilityVersion
(fCV) to "4.4"
.
Remove Backwards Incompatible Features
Before downgrading the binaries, remove all persisted 5.0 features that are incompatible with 4.4.