We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a65154 commit 7a323e2Copy full SHA for 7a323e2
bin/upgrade/24.10/upgrade.mongo.80.sh
@@ -126,6 +126,7 @@ mongosh --nodb --eval 'var conn; print("Waiting for MongoDB connection on port 2
126
127
if [ "$isAuth" -eq "1" ]; then
128
echo "run this command with authentication to upgrade to 8.0"
129
+ # shellcheck disable=SC2028
130
echo "mongosh admin --eval \"db.adminCommand( { setFeatureCompatibilityVersion: \\\8.0\\\", confirm: true } )\""
131
elif ! mongosh admin --eval "printjson(db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } ))" ; then
132
echo "Could not connect to MongodB, run this command when Mongo is up and running"
0 commit comments