MongoDB Atlas Upgrade – Choosing Between 7.0 and 8.0

We are planning to upgrade our MongoDB Atlas deployment and evaluating whether to move to version 7.0 or 8.0. Looking for insights from the community on the best approach based on stability, new features, and potential migration challenges.

Key Considerations:

:white_check_mark: Performance & Stability – Is 8.0 production-ready, or is 7.0 the safer bet?
:white_check_mark: New Features – What are the major benefits of 8.0 that would justify skipping 7.0?
:white_check_mark: Backward Compatibility – Any known issues when upgrading directly to 8.0?
:white_check_mark: Driver & Application Impact – Are there significant changes that might require code modifications?

Would love to hear your thoughts, experiences, and any recommendations from those who have already upgraded! :rocket:

#MongoDB #AtlasUpgrade #DatabasePerformance

Hi @Sagar_Gulati ,

We were struggling with a similar question. We ended up going the cautious route of migrating to 7.0 first. I did find out some information that is worth sharing while researching.

Is 8.0 production-ready, or is 7.0 the safer bet?

MongoDB 8.0 was released in October 2024. MongoDB Software Lifecycle Schedules | MongoDB In our testing, we didn’t come across any bugs or issues. I’m sure they may be found at some point, but the release is ready to use IMHO.

What are the major benefits of 8.0 that would justify skipping 7.0?

The main benefit we wanted was to avoid the internal work and cycle of upgrading our clusters. There are a list of benefits at MongoDB 8.0 Is Available Now | MongoDB. Personally one of the most compelling for me was autocompact to help reclaim disk space automatically. There are other benefits listed as well.

Any known issues when upgrading directly to 8.0?

I didn’t run into any issues, but here are some of the compatibility changes.

Are there significant changes that might require code modifications?

What language and driver are you using? In my use case, we were using node/javascript for our code. We did need to upgrade mongoose to a high enough version, but I don’t know of any issues beyond that.

Please do share your experience here. I believe this is an issue many people encounter.