-
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
loadIndexesFromAuthoritativeShard does not correctly route requests for timeseries collections. The CollectionRouter's RoutingContext does not implicitly translate the namespace to the timeseries buckets collection, causing incorrect shard targeting.
The fix mirrors the approach already used in cluster_list_indexes_cmd.cpp: use a CollectionRoutingInfoTargeter to properly resolve the namespace and apply timeseriesNamespaceNeedsRewrite to rewrite the command when needed.
This is needed for SERVER-112816 in which we will make $out resilient to concurrent timeseries upgrade/downgrade.
- is depended on by
-
SERVER-112816 Support $out concurrent with viewless timeseries upgrade/downgrade
-
- In Code Review
-
- related to
-
SERVER-123191 Deduplicate cluster listIndexes code by exposing a cluster::listIndexes function
-
- Needs Scheduling
-