Docs Menu

Docs HomeMongoDB Manual

Compatibility Changes in MongoDB 6.3

On this page

  • Time Series Collections

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.

To install the latest MongoDB version supported for on-premises use, MongoDB 7.0, see the MongoDB 7.0 installation instructions.

This page describes changes introduced in MongoDB 6.3 that can affect compatibility with older versions of MongoDB.

The following changes to time series collections can affect compatibility with older versions of MongoDB.

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.

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.

What is MongoDB? →