MongoCamp / docker-mongodb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migration to Feature Version 4.4 and 5.0 missing

QuadStingray opened this issue · comments

Migration Guide

Fix the entrypoint.sh to read MongoDB Version and use db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } ); db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } ); without manually changing the version number

mongo admin --port ${MONGO_PORT} --eval 'db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } ); db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } );'