-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
v8.0
-
200
At the time of writing, we can get an elaborate plan for $lookup in SBE when the outer collection does not exist (but the inner one does). This ticket tracks the work to instead, produce EOF plans.
Note that if we do this, we should ensure that we don't wind up create a plan cache entry for the EOF plan (in case the outer collection does get created)
- fixes
-
SERVER-82497 Optimize SBE EOF plans when in $lookup stages of pipelines
- Closed
- is depended on by
-
SERVER-92332 Segmentation fault in CollectionRef::restoreCollection()
- Closed