File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,31 @@ Compatibility Changes in MongoDB 6.3
17
17
18
18
This page describes changes introduced in MongoDB 6.3 that can affect
19
19
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.
You can’t perform that action at this time.
0 commit comments