-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 8.2.0-rc0
-
Component/s: None
-
None
-
Catalog and Routing
-
None
-
3
-
TBD
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
Timeseries collections should always have a clustered index, which is implicitly added in the createCollection path.
However with viewless timeseries collections, collection cloning code (e.g. chunk migration, shard collection) may incorrectly call into listCollections without rawData, then pass the options directly into lower catalog layers, which ends up creating a timeseries collection without a clustered index.
While the inconsistency is normally detected by existing validations, we should add a tripwire assertion around DatabaseImpl::_createCollection to fail as fast as possible.
- related to
-
SERVER-106176 Review listCollections and listIndexes uses and adapt to rawData mode
-
- Open
-