- 
    Type:
Task
 - 
    Resolution: Unresolved
 - 
    Priority:
Major - P3
 - 
    None
 - 
    Affects Version/s: None
 - 
    Component/s: None
 
- 
        Catalog and Routing
 - 
        🟦 Shard Catalog
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
Query code should use ShardRoleAPI instead of accessing directly to the CollectionCatalog. Therefore, this usage of CollectionCatalog from plan_insert_listener.cpp should be reworked.
- related to
 - 
                    
SERVER-111590 Disallow introduction of new usages of CollectionCatalog in the query module
-         
 - Closed
 
 -