Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
0
Description
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.
Attachments
Issue Links
- is related to
-
SERVER-22497 Allow from field of $lookup and $graphLookup to be an expression
-
- Backlog
-