Mongo 4.0 Upgrade

edX.org is starting to plan our Mongo 3.6 to Mongo 4.0 upgrade for next quarter. While there are a handful of breaking changes with the upgrade which you can read about here, nothing stands out like it will impact application code for forums or modulestore.

The most notable change with this upgrade is actually the license change made to prevent SaaS providers like AWS and other from offering their DB as a service without paying any fees. This means if you are using a mongo SaaS provider today they will likely never upgrade beyond the 3.6 apis. So I wanted to highlight that now and see if there are any concerns and/or other conversations we should be having around this topic.

Is anyone running on MongoDB 4.0 or greater right now? Any tips to share?

Is anyone running on a SaaS provider right now that only offers 3.6 compatibility?

4 Likes

I am trying to read between the lines. If someone runs Open edX in AWS but still uses the community edition, there should be no problem. Right, Bill?

But this might impact anyone trying to use MongoDB Atlas. Assuming It could be used with Open edX. Right, Bill?

This would impact anyone running with something like AWS DocumentDB (with MongoDB compatibility) or Microsoft Azure Cosmos DB which do not support 4.0 APIs. There are other SaaS providers which do offer 4.0 support (presumably by paying the license fee).

MongoDB Atlas should also be fine because it is the official MongoDB cloud offering. As is running the community edition yourself via any cloud provider.

The request here is that people check to ensure that however they host mongo they can plan for moving to 4.0 (and this more than any other upgrade it is not guaranteed to be upgradable by all providers).

1 Like

Hi @billatedx,

Iā€™m in the process of running some MongoDB upgrade tests for OpenCraft and was wondering how the edX.org plans for the upgrade are going?

Do you have any concrete plans for when you will be upgrading?

Have you encountered any significant problems yet?

The upgrade process looks straightforward, but we do have some concerns about the cs_comments_service with its ageing ruby drivers.

Hope to provide an update on our tests in this thread soon. :slight_smile: