-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
ALL
-
CAR Team 2024-01-22
-
5
-
2
SERVER-75818 slightly changed the _shardsvrCreateCollection command in v7.1 to call into validateAndSetBucketingParameters that adds to the timeseries options some default values for bucketMaxSpanSeconds and granularity. Such options are then forwarded to the create collection coordinator and persisted in the coordinator document.
This can lead to a (very improbable) flow:
- The shardCollection operation starts on a v7.1 binary in FCV v7.0
- Binaries are replaced
- The shardCollection operation is resumed from disk on a v7.0 binary
- The shardCollection operation completes
If the same shardCollection operation is retried by a router between 3 and 4, the mongod will erroneously report an error because of the missing default timeseries options (granularity and bucketMaxSpanSeconds).
- is caused by
-
SERVER-75818 Fix time-series options when sharding a collection
- Closed
- related to
-
SERVER-76805 Granularity field automatically added to manually-created time-series buckets collections on v6.1- but not v6.2+
- Backlog
-
SERVER-85251 Remove unnecessary timeseries validation check in create collection coordinator
- Closed