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

Refactor classic_runtime_planner_for_sbe.cpp into smaller files

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2024-02-05
    • 0.5

      Currently classic_runtime_planner_for_sbe.h, and classic_runtime_planner_for_sbe.cpp have methods for various different classes. It's cleaner to separate them into different files like so:

      • planner_interface.h
      • planner_interface.cpp
      • single_solution_planner.cpp
      • multi_planner.cpp
      • sub_planner.cpp
      • cached_planner.cpp

      Since there is only one consumer (get_executor.cpp) for classic_runtime_planner_for_sbe.h as it stands today and it would need all the subfiles, it would be ideal to have one header file and multiple specialized cpp files. 

            Assignee:
            adi.agrawal@mongodb.com Adi Agrawal
            Reporter:
            adi.agrawal@mongodb.com Adi Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: