Skip to content

Commit

Permalink
Merge branch 'release.24.10' into release.24.12
Browse files Browse the repository at this point in the history
# Conflicts:
#	bin/upgrade/24.12/upgrade.mongo.80.sh
  • Loading branch information
ArtursKadikis committed Jan 16, 2025
2 parents 470d708 + 7a323e2 commit 0cf59c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/upgrade/24.12/upgrade.mongo.80.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ mongosh --nodb --eval 'var conn; print("Waiting for MongoDB connection on port 2

if [ "$isAuth" -eq "1" ]; then
echo "run this command with authentication to upgrade to 8.0"
# shellcheck disable=SC2028
echo "mongosh admin --eval \"db.adminCommand( { setFeatureCompatibilityVersion: \\\8.0\\\", confirm: true } )\""
elif ! mongosh admin --eval "printjson(db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } ))" ; then
echo "Could not connect to MongodB, run this command when Mongo is up and running"
Expand Down

0 comments on commit 0cf59c7

Please sign in to comment.