In preparation for upgrading Mongo Atlas staging/prod to 4.2 this CL updates both test and development compose configuration files to use mongodb v4.2.
Note that the test suite passed using mongodb 4.2 image. I have also validated by standing up local dev via hokusai dev start and executing CRUD actions using a test article.
This CL also updates the Brewfile to install mongodb-community@4.2 which will require developers to re-run setup script. Unfortunately during testing we have experienced some issues with having both versions running and so to streamline the process our recommendation is to:
# remove 4.0
brew uninstall mongodb-community@4.0
# delete the mongo data directories and files
rm -rf /usr/local/var/mongodb/*
# re-run setup
scripts/setup.sh
This PR will be merged along with Kaws and Gravity PRs followed by an announcement that those contributors working in these projects need to remove v4.0, clean local mongo data and rerun setup scripts.
https://artsyproduct.atlassian.net/browse/PLATFORM-3942
In preparation for upgrading Mongo Atlas staging/prod to 4.2 this CL updates both test and development
compose
configuration files to use mongodb v4.2.Note that the test suite passed using mongodb 4.2 image. I have also validated by standing up local dev via
hokusai dev start
and executing CRUD actions using a test article.This CL also updates the Brewfile to install
mongodb-community@4.2
which will require developers to re-run setup script. Unfortunately during testing we have experienced some issues with having both versions running and so to streamline the process our recommendation is to:This PR will be merged along with Kaws and Gravity PRs followed by an announcement that those contributors working in these projects need to remove v4.0, clean local mongo data and rerun setup scripts.