-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
0
For each local document matched in $lookup we will create a pipeline representing the query against the "from" collection. This results in repeated validation of an identical pipeline structure. We should look to validate this structure once per $lookup invocation rather than once per "from" pipeline.
This shows up as a $lookup hotspot under VTune in the "uassertNoDisallowedClauses" method.
- is related to
-
SERVER-22497 Allow from field of $lookup and $graphLookup to be an expression
- Backlog