-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2026-04-13
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The createIndexesOnEmptyCollection method in both ShardServerProcessInterface and NonShardServerProcessInterface does not properly handle timeseries collections.
On shardsvr: The CollectionRouter used by ShardServerProcessInterface::createIndexesOnEmptyCollection does not translate the namespace to the timeseries buckets collection, causing the createIndexes command to be routed incorrectly. The fix uses a CollectionRoutingInfoTargeter to properly resolve the namespace and rewrite the command for timeseries collections.
On non-shardsvr (replica sets): The collection acquisition in NonShardServerProcessInterface::createIndexesOnEmptyCollection does not resolve timeseries view namespaces to the underlying system.buckets collection. The fix uses acquireCollectionWithBucketsLookup to handle this resolution.
- is depended on by
-
SERVER-112816 Support $out concurrent with viewless timeseries upgrade/downgrade
-
- In Code Review
-
- is related to
-
SERVER-123175 Deduplicate cluster createIndexes code by exposing a cluster::createIndexes function
-
- Needs Scheduling
-