Skip to content

Conversation

ml-evs
Copy link
Member

@ml-evs ml-evs commented Jul 18, 2024

Our MongoDB version is now out of support -- this PR updates the dockerized version, though some compatibility checks will need to be made with the tools for dumping/restoring data.

This is way overdue but needs to be handled carefully. Part of the delay is that MongoDB cannot be seamlessly upgraded by more than one version at a time... We should make some efforts to avoid accidental data loss from other people doing this upgrade, e.g., automatically backing up the server on startup.

Upgrading from MongoDB v3 -> v8 needs to be done carefully via mongodump and mongorestore. I'll add some docs for this, and probably some automation in the ansible playbooks to avoid nuking old databases.

@ml-evs ml-evs force-pushed the ml-evs/bump-mongo branch from ced579d to 2c5a53d Compare August 10, 2024 11:10
Copy link

cypress bot commented Aug 10, 2024

datalab    Run #3443

Run Properties:  status check passed Passed #3443  •  git commit a1e02b4c79 ℹ️: Merge 605baea22434a69e8bd38ccc160646da3b8f8eb1 into c42ae095f2ac5577cdc224128220...
Project datalab
Branch Review ml-evs/bump-mongo
Run status status check passed Passed #3443
Run duration 08m 23s
Commit git commit a1e02b4c79 ℹ️: Merge 605baea22434a69e8bd38ccc160646da3b8f8eb1 into c42ae095f2ac5577cdc224128220...
Committer Matthew Evans
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 504
View all changes introduced in this branch ↗︎

Copy link

codecov bot commented Aug 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.73%. Comparing base (c42ae09) to head (605baea).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #814   +/-   ##
=======================================
  Coverage   71.73%   71.73%           
=======================================
  Files          66       66           
  Lines        4482     4482           
=======================================
  Hits         3215     3215           
  Misses       1267     1267           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ml-evs ml-evs changed the title Try upgrading to Mongo v7 Try upgrading Mongo Aug 31, 2024
@ml-evs ml-evs force-pushed the ml-evs/bump-mongo branch from 8800c35 to 49c223d Compare August 31, 2024 12:18
@ml-evs ml-evs added this to the v0.6.x milestone Oct 14, 2024
@ml-evs ml-evs force-pushed the ml-evs/bump-mongo branch from 49c223d to 6e72f16 Compare October 14, 2024 14:21
@ml-evs ml-evs mentioned this pull request Apr 2, 2025
@ml-evs ml-evs force-pushed the ml-evs/bump-mongo branch from 6e72f16 to f984799 Compare June 7, 2025 12:33
@ml-evs ml-evs changed the title Try upgrading Mongo Try upgrading MongoDB and pymongo Jun 7, 2025
@ml-evs ml-evs marked this pull request as ready for review June 7, 2025 14:45
@ml-evs ml-evs modified the milestones: v0.7.x, v0.6.x Jun 7, 2025
@ml-evs ml-evs force-pushed the ml-evs/bump-mongo branch from 8495a24 to 3e79a10 Compare June 7, 2025 18:01
@ml-evs ml-evs changed the title Try upgrading MongoDB and pymongo Upgrade MongoDB to v8 Jun 7, 2025
@ml-evs ml-evs merged commit ee41b34 into main Jun 7, 2025
17 checks passed
@ml-evs ml-evs deleted the ml-evs/bump-mongo branch June 7, 2025 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant