Closed punkrokk closed 4 years ago
Started on a PR...
Update: Based on discussion in #development
team decided to use MongoDB 4.0 across all the platforms.
Turns out previously Mongo 4 wasn't supported for EL7 and U16.
Now Mongo 4.0 is available for both platforms: https://docs.mongodb.com/v4.0/tutorial/install-mongodb-on-ubuntu/#platform-support https://docs.mongodb.com/v4.0/tutorial/install-mongodb-on-red-hat/#platform-support
This will guarantee consistency in Mongo version everywhere and less code hacks in installers.
While newer recently added platforms like Ubuntu18 and CentOS8 rely on MongoDB 4, older systems like EL7 and U16 are still on MongoDB 3.4
MongoDB v3.4 has reached its EOL in January 2020. ~Switch to MongoDB v3.6 instead~, following the StackStorm/st2docs#968 Update: Switch to MongoDB
v4.0
across all the OSes, including EL7 and U16 as we found that's supported by Mongo.See stackstorm/st2-packages#643 for the changes needed.