Compatibility Changes in 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.
This page describes changes introduced in MongoDB 6.3 that can affect compatibility with older versions of MongoDB.
Time Series Collections
The following changes to time series collections can affect compatibility with older versions of MongoDB.
Granularity Settings
Starting in MongoDB 6.3, you can configure time series bucket
granularity using the new bucketMaxSpanSeconds
and
bucketRoundingSeconds
custom bucketing parameters. To downgrade
below 6.3, you must either drop all collections with these parameters,
or modify them to use the corresponding granularity
. For details,
see collMod
.
Not all bucketMaxSpanSeconds
and bucketRoundingSeconds
values
correspond to a granularity
value. In such cases, you must drop the
collection.
Partial TTL Indexes for Time Series Collections
Starting in MongoDB 6.3, you can create partial Time To Live (TTL) indexes on time series collections. To downgrade below 6.3, you must remove all partial TTL indexes from your time series collections.