[SERVER-85767] Refactor classic_runtime_planner_for_sbe.cpp into smaller files Created: 26/Jan/24  Updated: 28/Jan/24  Resolved: 28/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc2

Type: Improvement Priority: Major - P3
Reporter: Adi Agrawal Assignee: Adi Agrawal
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2024-02-05
Participants:
Story Points: 0.5

 Description   

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. 



 Comments   
Comment by Githook User [ 27/Jan/24 ]

Author:

{'name': 'Adityavardhan Agrawal', 'email': 'adi.agrawal@mongodb.com', 'username': 'Adityav369'}

Message: SERVER-85767 Refactor classic_runtime_planner_for_sbe into separate files (#18405)

GitOrigin-RevId: 825e386d34dd01036a92e9cf90649a776b7a88dc
Branch: master
https://github.com/mongodb/mongo/commit/e4287403bb0e1acecc99b547b71218515f3cedd3

Generated at Thu Feb 08 06:58:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.