-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2024-12-23
Optimize the $listClusterCatalog aggregation stage when it's immediately followed by a $match stage filtering the documents by 'db'.
- If $match filters by 'db', we should only call the listCollections command for the databases that match the given query.
- backported by
-
SERVER-98652 [v8.0] Backport the $listClusterCatalog aggregation stage to v8.0
- In Code Review