Skip to content
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

Upgrade to Mongo 7 #1020

Closed
kdmccormick opened this issue Mar 19, 2024 · 3 comments · Fixed by #1029
Closed

Upgrade to Mongo 7 #1020

kdmccormick opened this issue Mar 19, 2024 · 3 comments · Fixed by #1029
Assignees

Comments

@kdmccormick
Copy link
Collaborator

(Originally mentioned here: https://discuss.openedx.org/t/tutor-cs-comment-service-mongo-and-ruby-upgrade/12472)

edx-platform and cs_comments_service are now both being tested with Mongo 7 (openedx/edx-platform#34213), so we can now upgrade Tutor to use Mongo 7. We should apply the change to Tutor Nightly, the sooner the better. It would be ideal to do it before the Redwood cut (late April), although the true deadline is the Redwood release (June 9).

The line that needs to be changed: https://github.com/overhangio/tutor/blob/nightly/tutor/templates/config/defaults.yml#L23

@DawoudSheraz
Copy link
Contributor

https://discuss.openedx.org/t/tutor-edx-platform-mongo-7-upgrade/12512 also confirms that it is safe to upgrade Mongo as both cs_comments_service and edx-platform are running on Mongo 7.

@regisb
Copy link
Contributor

regisb commented Mar 26, 2024

We would also (probably) need to update the upgrade scripts, in tutor/commands/upgrade, to make sure that existing MongoDb 4 databases are successfully migrated to v7.

@DawoudSheraz DawoudSheraz moved this from Backlog to In Progress in Tutor project management Mar 27, 2024
@DawoudSheraz
Copy link
Contributor

Since there have been major releases since 4.4, the upgrade would need to go through them before running on Mongo 7. Therefore, during upgrade command, mongo would need to follow 4.4 --> 5.0 --> 6.0 --> 7.0 to work correctly.

There are some other changes across various versions:

@DawoudSheraz DawoudSheraz linked a pull request Mar 29, 2024 that will close this issue
@DawoudSheraz DawoudSheraz moved this from In Progress to In review in Tutor project management Apr 4, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in Tutor project management Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

3 participants