Compatibility Changes in MongoDB 7.2
On this page
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.
Backward-Incompatible Features
General Changes
serverStatus
Metrics
Starting in MongoDB 7.2, the serverStatus
command and the
db.serverStatus()
method have these output changes:
Renamed Metrics
query.planCacheTotalQueryShapes
is nowplanCache.totalQueryShapes
query.planCacheTotalSizeEstimateBytes
is nowplanCache.totalSizeEstimateBytes
wiredTiger
Storage Engine Encryption Specification
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.
routingTableCacheChunkBucketSize
Must Be Greater Than 0
Starting in MongoDB 7.2, the
routingTableCacheChunkBucketSize
parameter's value must be
greater than 0
. Previously, this value could equal to 0
.
numInitialChunks
option removed
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.