Release Notes for MongoDB 6.3
On this page
Important
MongoDB 6.3.1 is a rapid release and is only supported for MongoDB Atlas. MongoDB 6.3.1 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.3.2 - June 29, 2023
Issues fixed:
SERVER-67105 $in queries do not use clustered index
SERVER-69952 Filtering on dates outside of the 32 bit epoch range returns wrong results
SERVER-74380 Router role retry loop should allow namespaces different from the one it was created for
SERVER-76550 Balancer is unable to drain shards with big chunks
SERVER-77018 Deadlock between dbStats and 2 index builds
6.3.1 - May 3, 2023
Issues fixed:
SERVER-71636 Explain executionStats does not work for $lookup on sharded collection
SERVER-73229 Logical sessions cache refresh ignores write errors from updating session document, leading to cursors being killed early
SERVER-73482 $natural hint overrides sort on clustered collections
SERVER-74131 Multiplanning together with subplanning causes server crash in mapReduce queries
SERVER-75277 TTL deleter attributes resource metrics across multiple databases
Aggregation
New Aggregation Operators
MongoDB 6.3 introduces the following aggregation operators:
Operator | Description |
---|---|
Returns the result of a bitwise and operation on an array of
int or long values. | |
Returns the result of a bitwise not operation on a single argument
or an array that contains a single int or long value. | |
Returns the result of a bitwise or operation on an array of
int or long values. | |
Returns the result of a bitwise xor (exclusive or) operation on an
array of int and long values. |
General Changes
serverStatus
Metrics
Starting in MongoDB 6.3, the serverStatus
command and the
db.serverStatus()
method have these output changes:
Document | Field(s) |
---|---|
New network.listenerProcessingTime document. | |
Addition to connections document. | |
New metrics.network document. | |
Additions to metrics.operation document. | |
Addition to shardingStatistics document. | |
Additions to indexBulkBuilder document. |
connPoolStats
Metrics
Starting in MongoDB 6.3, the connPoolStats
command has
these output changes:
Document | Field(s) |
---|---|
New connPoolStats.acquisitionWaitTimes document. | Time ranges with the number of connection requests in each
range.
Total number of connection requests for all time ranges. |
Session Workflow Log Message
Starting in MongoDB 6.3, a message is added to the log if the time to send an operation response exceeds the slowms threshold option. For details, see Session Workflow Log Message.
explain
Output Includes Fields for Spilled Data File Size
Starting in MongoDB 6.3, the explain
output for the
$group
stage includes new metrics on spill data when using the
classic execution engine:
spillFileSizeBytes
, the size of the spill file written to disk in the$group
stagenumBytesSpilledEstimate
, estimate of the number of bytes written to disk in the$group
stage before compression
For details, see $sort
and $group
Stages.
Connection Acquisition To Wire Log Message
Starting in MongoDB 6.3, a message is added to the log if the time that an operation waited between acquisition of a server connection and writing the bytes to send to the server over the network exceeds 1 millisecond. For details, see Connection Acquisition To Wire Log Message.
Server Parameters
Starting in MongoDB 6.3, these server parameters were added:
slowConnectionThresholdMillis
sets the time limit to log the establishment of slow server connections.chunkMigrationConcurrency
sets the number of threads on the source shard and the receiving shard for migrating chunks.planCacheSize
sets the size of the plan cache for the slot-based query execution engine.
Time Series Collection Custom Bucketing Parameters
MongoDB 6.3 adds the following time series parameters:
bucketMaxSpanSeconds
sets the maximum time span between measurements in a bucket.bucketRoundingSeconds
sets the time interval that determines the starting timestamp for a new bucket.
compact Command Support for Time Series Collections
Starting in MongoDB 6.3, the compact
command works with
time series collections.
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.