Release Notes for MongoDB 6.2
On this page
Important
MongoDB 6.2 is a rapid release and is only supported for MongoDB Atlas. MongoDB 6.2 is not supported for use on-premises. For more information, see MongoDB Versioning.
To install the latest MongoDB version supported for on-premises use, MongoDB 6.0, see the MongoDB 6.0 installation instructions.
Patch Releases
6.2.1 - Mar 15, 2023
Issues fixed:
SERVER-46478 Add opLatencies to mongoS serverStatus
SERVER-60553 Secondary replica set initial sync errors with "NotWritablePrimary: Not-primary error while processing 'find' operation on 'database_production' database via fire-and-forget command execution."
SERVER-61909 Hang inserting or deleting document with large number of index entries
SERVER-71759 dataSize command doesn't yield
SERVER-73822 Time-series $group rewrite ignores certain accumulators
6.2.0 - Mar 6, 2021
The rest of this page provides the 6.2.0 release notes:
Collection Validation
Starting in MongoDB 6.2, the validate
command and
db.collection.validate()
method:
Check collections to ensure the BSON documents conform to the BSON specifications.
Check time series collections for internal data inconsistencies.
Have a new option
checkBSONConformance
that enables comprehensive BSON checks.
Sharding
Starting in version 6.2, MongoDB removes the maxSize
field
from the addShard
command. As a result:
taskExecutorPoolSize Setting on Linux
When running MongoDB 6.2 or newer on Linux, you cannot modify the
taskExecutorPoolSize
from the default value of 1
.
You may modify this parameter when running MongoDB on Windows or macOS.
serverStatus Metrics
Starting in MongoDB 6.2, the serverStatus
command output
includes these new fields:
Starting in MongoDB 6.2, the serverStatus
command and
the db.serverStatus()
method report the
opLatencies
metric for mongos
instances. Latencies reported by mongos
include operation latency
time and communication time between the mongod
and mongos
instances.
Server Parameters
Starting in MongoDB 6.2, mongod
adds these parameters:
Deprecated Commands
Starting in MongoDB 6.2, the following database commands are deprecated:
Report an Issue
To report an issue, see https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports for instructions on how to file a JIRA ticket for the MongoDB server or one of the related projects.