-
-
Notifications
You must be signed in to change notification settings - Fork 59
Set default MongoDB version to 7.0.25 #2878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
We've tested Mongo 8 locally as well on DigitalOcean cluster and Browsertrix works well with it. Otherwise, the 8.0 image will exit.. need to test some more to figure out best way to do this to avoid breaking existing deployments. |
|
Thanks @ikreymer, and that's a good point about the upgrade between 6 -> 8. I guess the alternative would be to switch to v7 now, and in a year or so switch to v8? That should allow more than enough time for everyone to have updated their systems. If you would like me to update my PR then just let me know. Also please note my question in the comment in my PR ~ that question would apply to v7 as well. |
Yeah, I think maybe safest would be to update to 7, and then looks like we need to manually set that field, eg: Of course, for anyone who wants to upgrade sooner can then also override I did that for testing locally: first deployed with 7.0.25, then patched in mongosh via the adminCommand, then updated to 8.0.15 But I think we'd want the upgrade to be as smooth as possible so users don't have to do that. |
df6f5d6 to
1913a4b
Compare
|
@ikreymer No problem - I've updated the PR to use |
|
We need to add a migration in the db to ensure a smooth upgrade, will push to further release so we can test this better. |
Resolves #2680
Changes
Tests
This has been tested with a new DigitalOcean deployment. I assume there is also a level of automated tests which I am unfamiliar with.
Comments
Should the Docker image version be exact (ie:
docker.io/library/mongo:7.0.25), or should it maybe be scoped todocker.io/library/mongo:7to include all future 7.* releases? If this needs changing then please let me know and I'll update the MR.