MongoDB 8 Announcement from Atlas

mongodb_1

Your M0/M2/M5 Atlas cluster(s) will be automatically upgraded to MongoDB 8.0 in November 2024.

What’s in the update?

MongoDB 8.0 delivers unprecedented performance for your workloads compared with previous versions. While precise gains will vary from application to application, industry benchmarks and MongoDB’s internal testing indicate the following improvements vs MongoDB 7.0:

  • 54% faster for bulk writes (Yahoo! Cloud Serving Benchmark, YCSB)
  • 27% faster for reads (YCSB)
  • 25% faster for 95/5 mix of reads & writes (YCSB)
  • 18% faster according to Meta’s social graph benchmark (Linkbench)
  • 60% faster for time series data (Timescale Time Series Benchmark Suite, TSBS)

What do I need to do?

MongoDB version 7.0-compatible drivers will continue to work with MongoDB version 8.0. To take advantage of new server features, upgrade your driver.

MongoDB version 8.0 introduces some compatibility changes. To determine if your workload may be impacted and if changes may be necessary, review the compatibility changes in 8.0.

Note: Most upgrades do not require any application changes. If you are concerned about compatibility, we recommend exploring MongoDB’s Stable API.

Not ready?

Control version upgrades and configure maintenance windows at your convenience when you upgrade to an M10 cluster. In addition to flexibility and control, M10 clusters come with premium features such as:

  • Query Profiler and schema recommendations with Performance Advisor
  • Expandable storage and auto-scaling options
  • Unrestricted Atlas Search and Vector Search indexes and more

Questions?

Use the chat in the Atlas UI to speak with someone on our team.

Best,

MongoDB Atlas Product Team

https://email.mongodb.com/e/evib?_t=86ba93b39a0e415ea7cd8e8ed81051cd&_m=da38293e870344f4a99088d31e7f2359&_e=UQk7A4gAiGO9k69fO1uSxvJgRXQe9Iv2mVWyCLcu-YHRPofP-S9Nz6sp9TEbOM8k

5 Likes

@storyteller tag the upgrade of the node driver for Meteor 3.1

Checking the driver compatibility, the current version of the node driver (4.17.2) supports MongoDB 7 (except for new features). Therefore, the current version will support MongoDB 8.

1 Like

In short term we are fine where we are with the driver, but we need to get the driver updated asap. The issue is that in v5 there is a change on response away from callbacks. I just did the first step and we need to discuss there how to best approach the upgrade (there is a compatibility package for the old way, but I don’t think we want to go that route if we can avoid it).

But there’s a catch for people using transactions:

Batch Multi-Document Insert Operations

Starting in MongoDB 8.0, insert operations for multi-document transactions no longer produce individual oplog entries. Instead, multi-document inserts are batched as a single entry. The change stream insert event for each document has the same clusterTime.

This change increases performance of multi-document insert operations and eliminates possible replication lag caused by multiple oplog writes.

So both Meteor and oplogtoredis are affected (i.e., may no longer understand transactions; it’ll require an update in oplog handling if the format has changed (I guess it had to)) while changestream-to-redis is not (i.e., will work without changes).

1 Like

Given, https://www.mongodb.com/docs/drivers/node/upcoming/compatibility/

I read the MongoDB Node Drivers 4.17.2 is not tested against MongoDB 8.

What source make us confident latest Meteor 2.X and 3.X are compatible with MongoDB 8?

It was written in the OP message (announcement)

Just a heads up to @storyteller now that the compatibility table explicitly excluded the current drivers as supporting mongodb 8 even if Atlas said otherwise

1 Like

@leonardoventurini is more knowledgeable in this area than me.

We will work on it in the next minor (3.1), which we should start sometime this week or next. I suspect our current driver version would break only some specific scenarios. In any case, v4.17 seems quite old to me and even surprising. Hopefully, there aren’t many accommodations we have to make in the core.

1 Like

When I looked into this, the issue with v5 of the node driver is that callback have been removed. There is a transitional compatibility package, but that is a stop-gap measure.