-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
Currently, query code still accesses the CatalogCache directly to obtain routing table information for its required namespaces (example). We should get a definitive list of all routing operations that rely on the CatalogCache and tag them for replacement by the RoutingContext. There is a running list here - we should ensure it is complete or fill any gaps as needed.
// Catalog cache access Grid::get(opCtx)->catalogCache(); // Routing table acquisition catalogCache->getCollectionRoutingInfo(opCtx, nss);
Query code refers to files assigned to @10gen/query or subteams in the CODEOWNERS file. Helpers directly called by query code that perform direct CatalogCache accesses should also be considered for replacement.
- is depended on by
-
SERVER-102925 Replace direct CatalogCache accesses in the sharded aggregation code with the RoutingContext
-
- In Progress
-
-
SERVER-102926 Replace direct CatalogCache accesses in the sharded query command code with the RoutingContext
-
- Closed
-