-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 7.0.0, 8.0.0, 8.3.0-rc0, 8.2.0
-
Component/s: None
-
None
-
Catalog and Routing
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
In MongoDB 7.0 it was possible to create a timeseries buckets collection directly like this:
db.createCollection("system.buckets.xyzzy", {timeseries:{timeField:'t'}})
The resulting buckets collection doesn't have many required options (for example a clustered index and the granularity), for this reason SERVER-88200 added a check that forbids writing to those collections.
In SERVER-90889 we added an inconsistency type in checkMetadataConsistency to report inconsistent buckets collections, we should extend it to also report this case as an inconsistency.
The same logic is being used in SERVER-114830 to validate buckets collections to upgrade to viewless timeseries.
- is related to
-
SERVER-88200 Time-series writes on manually-created buckets may misbehave
-
- Closed
-
-
SERVER-114830 Implement viewless timeseries upgrade/downgrade in the shard catalog
-
- In Code Review
-
-
SERVER-90889 Check timeseries collections throught the checkMetadataConsistency command
-
- Closed
-