Remove unused absl/boost includes from query code

XMLWordPrintableJSON

    • 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.

            Assignee:
            Jan Steemann
            Reporter:
            Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: