Docs Menu
Docs Home
/
MongoDB Manual
/ /

Compatibility Changes in MongoDB 7.2

On this page

  • Backward-Incompatible Features
  • General Changes

Important

MongoDB 7.2 is a rapid release and is only supported for MongoDB Atlas. MongoDB 7.2 is not supported for use on-premises. For more information, see MongoDB Versioning.

Starting in MongoDB 7.2, the serverStatus command and the db.serverStatus() method have these output changes:

Starting in MongoDB 7.2, you can't specify wiredTiger storage engine encryption options when you create a collection with db.createCollection(). To configure encryption for the WiredTiger storage engine, see Encryption at Rest.

Starting in MongoDB 7.2, the routingTableCacheChunkBucketSize parameter's value must be greater than 0. Previously, this value could equal to 0.

Starting in MongoDB 7.2, the numInitialChunks option is removed from the shardCollection command. The server automatically creates chunks on every shard in a cluster when using hashed sharding for an empty collection.

Back

Release Notes for MongoDB 7.2