NRGI / rgi-assessment-tool

MEAN build of RGI 2015 assessment tool
MIT License
5 stars 1 forks source link

Migrate MongoDB to a newer version #600

Closed adinuca closed 5 years ago

adinuca commented 5 years ago

Why

Version currently used by RGI Assessment tool has reached end of life and the Compose build will automatically be upgraded from the 15th of February. We don't know if the application will work with a newer version of MongoDB

What

Notes

This is dependent on #596. Changes are not testable because the build is broken.

adinuca commented 5 years ago

The pull request was created from the wrong branch. I will create another one from the correct branch.

adinuca commented 5 years ago

This pull request is the correct one for the issue.

The data was migrated to the newest version by downloading a backup from Compose, starting a MongoDB v3.2 with it and testing it. Same steps for MongoDB 3.4.

The data was imported to an M10 deployment in MongoAtlas and tested. Staging is now using the new MongoAtlas deployment.

adinuca commented 5 years ago

Data has been backed up in MongoDB S3, rgi-assessment-tool-backup bucket.

adinuca commented 5 years ago

RGI Assessment tool is using MongoDB Atlas.