Skip to content

Commit ec89a80

Browse files
Added compatibility notes on time series granularity and partial TTL indexes (#3037)
* Added compatibility notes on time series granularity and partial TTL indexes * Typo fix and self review items * Update source/release-notes/6.3-compatibility.txt Co-authored-by: Fausto J Leyva <[email protected]> --------- Co-authored-by: Fausto J Leyva <[email protected]>
1 parent 702bccf commit ec89a80

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

source/release-notes/6.3-compatibility.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,31 @@ Compatibility Changes in MongoDB 6.3
1717

1818
This page describes changes introduced in MongoDB 6.3 that can affect
1919
compatibility with older versions of MongoDB.
20+
21+
Time Series Collections
22+
-----------------------
23+
24+
The following changes to :ref:`time series collections <manual-timeseries-landing>`
25+
can affect compatibility with older versions of MongoDB.
26+
27+
Granularity Settings
28+
~~~~~~~~~~~~~~~~~~~~
29+
30+
Starting in MongoDB 6.3, you can configure time series bucket
31+
granularity using the new ``bucketMaxSpanSeconds`` and
32+
``bucketRoundingSeconds`` custom bucketing parameters. To downgrade
33+
below 6.3, you must either drop all collections with these parameters,
34+
or modify them to use the corresponding ``granularity``. For details,
35+
see :dbcommand:`collMod`.
36+
37+
Not all ``bucketMaxSpanSeconds`` and ``bucketRoundingSeconds`` values
38+
correspond to a ``granularity`` value. In such cases, you must drop the
39+
collection.
40+
41+
Partial TTL Indexes for Time Series Collections
42+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43+
44+
Starting in MongoDB 6.3, you can create partial :ref:`Time To
45+
Live (TTL) <index-feature-ttl>` indexes on time series collections. To
46+
downgrade below 6.3, you must remove all partial TTL indexes from your
47+
time series collections.

0 commit comments

Comments
 (0)