Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58428

Implement grafting of post-multiplan tree onto multiplan candidates

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      QE 2021-09-06, QE 2021-09-20

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              irina.yatsenko Irina Yatsenko
              Reporter:
              ian.boros Ian Boros
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: