You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Jozef Butko
jbutko
Fullstack JS developer. Currently mainly working with Node.js and React.
[Ubuntu] Upgrade mongodb version (applies to the replica member)
To upgrade mongodb (even on replica member) from 4.2 to 4.4:
ensure proper feature compatibility version:
sudo mongo
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } ) -> should return current version (4.2), if not set it:
db.adminCommand( { setFeatureCompatibilityVersion: "4.2" } ) -> set the version to currently installed version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters