[SERVER-58428] Implement grafting of post-multiplan tree onto multiplan candidates Created: 12/Jul/21  Updated: 29/Oct/23  Resolved: 10/Sep/21

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

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Irina Yatsenko (Inactive)
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-58427 Implement pushdown of $group for plan... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2021-09-06, QE 2021-09-20
Participants:

 Description   

Multi-planning for queries with $group or $lookup in the find() layer will work as follows:
1) Run all of the 'multiplanned' candidate plans and choose the winner, using the existing infrastructure.
2) Stitch the 'postMultiPlan' tree on top of the QSN of the winning plan.
3) Build an execution tree for this new QSN tree.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 10/Sep/21 ]

Author:

{'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}

Message: SERVER-58428 Combine $group solution nodes and the winning plan into single solution
Branch: master
https://github.com/mongodb/mongo/commit/8cf8e390e760657ac0405d3c2fd4ea931a3e3ab0

Comment by Ian Boros [ 25/Aug/21 ]

Moving this to the backlog as I don't expect to get it to it before moving to storage exec.

Generated at Thu Feb 08 05:44:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.