-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Query Execution, Query Planning, Querying
-
None
-
Query Execution
-
Fully Compatible
-
QE 2025-10-13
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Query code in mongo/db/{commands/query_cmd,query,pipeline,s,update} contains lots of includes of absl and boost headers that are actually unused.
These can be removed to reduce unnecessary dependencies and improve compile times.
It is not safe to remove these includes from .h files unconditionally because of potential transitive dependencies.
However, It is safe to remove all these includes from .cpp files if the features from absl/boost are not used by these TUs.