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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2024-02-05, QE 2024-02-19, QO 2024-03-04
    • 1

      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.

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

              Created:
              Updated:
              Resolved: