-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
ALL
As described in SERVER-81555, there are edge cases when an SBE plan for $lookup may not use an index, while the corresponding classic plan would. This task is to detect when that situation may arise, and avoid using SBE altogether in those cases. This is intended to be a simple, backportable change that works around the issue.
SERVER-81555 will track a complete, proper fix that allows SBE to use the correct index.
- related to
-
SERVER-81555 $lookup on foreign field uses index in classic but not in SBE when collations do not match
-
- In Progress
-