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.