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

Wrap members that can be shared in PlanStageData into a single struct

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • QO 2022-05-02

      Some data members in PlanStageData can be shared among PlanStageDatas that come from the same query. Consider wrapping them into one single data struct and make it a std::shared_ptr.

      Data members eligible for sharing:

      debugInfo,

      indexBoundsEvaluationInfos,

      inputParamToSlotMap,

      variableIdToSlotMap

      Check here.

            Assignee:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Reporter:
            ruoxin.xu@mongodb.com Ruoxin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: