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

Correctly fill rejectedPlans and allPlansExecution when using classic multi-planner with SBE

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution
    • QE 2024-02-05, QE 2024-02-19
    • 1

    Description

      When making the transition from Classic runtime planner to SBE, we need to preserve planning information to support “rejectedPlans” and “allPlansExecution” fields of “explain” command output.

      Explain is powered by the PlanExplainer interface. Because in Classic all planning is mixed in with execution, Classic’s PlanExplainerImpl only needs a pointer to the runtime planning stage, used for planning, to provide “explain” command output. So when creating PlanExplainerSBE we need to pass MultiPlanStage to it.

      Attachments

        Activity

          People

            daniel.segel@mongodb.com Daniel Segel
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: