artsy / positron

Positron is Artsy Writer or the editorial tool and API for Artsy.
MIT License
85 stars 42 forks source link

chore: bump mongodb to v4.4 in setup, test (CI), dev #3034

Closed ovasdi closed 2 years ago

ovasdi commented 2 years ago

https://artsyproduct.atlassian.net/browse/PLATFORM-3943

This is in preparation for upgrading Mongo Atlas staging/prod to v4.4.


Note1: As with the previous mongodb upgrade (to v4.2) this PR will need to be merged along with Positron and Kaws followed by announcement in #dev encouraging contributors to switch their local version to mongodb v4.4.

As far as announcement goes, the recommendation is to completely remove the previous version and data and re-run setup to reduce the likelihood of conflicts between versions.

brew uninstall mongodb-community@4.2
rm -rf /usr/local/var/mongodb/*
scripts/setup.sh

Note2: Starting with MongoDB 4.4, the MongoDB Database Tools are now released separately from the MongoDB Server and use their own versioning, with an initial version of 100.0.0. Previously, these tools were released alongside the MongoDB Server and used matching versioning.**