[SERVER-73393] Investigate why the optimizer fallback mechanism is triggered for simple queries Created: 27/Jan/23  Updated: 14/Feb/23  Resolved: 14/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Milena Ivanova Assignee: Backlog - Query Optimization
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Operating System: ALL
Participants:

 Description   

When we run the server with internalQueryFrameworkControl="tryBonsai" some simple queries, such as 

{$match: {'a.b': null}}

trigger the optimizer fallback mechanism and produce the classic plan. 

To reproduce

buildscripts/resmoke.py run --suite=query_golden_cqf --mongodSetParameters="{internalQueryFrameworkControl: 'tryBonsai'}" jstests/query_golden/null_missing.js


Generated at Thu Feb 08 06:24:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.