[SERVER-70871] Generate query solution before query engine selection Created: 26/Oct/22  Updated: 29/Oct/23  Resolved: 02/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Alyssa Clark Assignee: Alyssa Clark
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-70617 Allow use of column indexes for count... Closed
Problem/Incident
Related
related to SERVER-71032 Share QuerySolutions between classic/... Backlog
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 165

 Description   

Generating the query solution is tightly coupled with building the execution tree in `get_executor.cpp`. However, in some situations (e.g. https://jira.mongodb.org/browse/SERVER-70617), we need to inspect the query solution when deciding whether to use SBE - before building the execution tree. We should separate these paths enough to allow this.



 Comments   
Comment by Githook User [ 02/Nov/22 ]

Author:

{'name': 'Alyssa Wagenmaker', 'email': 'alyssa.wagenmaker@mongodb.com', 'username': 'awagenmaker'}

Message: SERVER-70871 Generate query solution before query engine selection
Branch: master
https://github.com/mongodb/mongo/commit/3c525eb2a8593dc7ca59cc13560bc710a8fa89b7

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