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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: