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

Move DocumentSource's QE members to a parent class

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2025-04-14, QE 2025-04-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Create a new QE pipeline stage class mongo::exec::agg::Stage and place it under src/mongo/db/exec/agg/stage.{h,cpp} derived from RefCounted, extract all QE-relevant methods and data members from DocumentSoure to exec::agg::Stage and make document source (temporarily) inherit from exec::agg::Stage.

      Prototype commit: https://github.com/10gen/mongo/pull/34036/commits/0cd88613eff65d02497a56c6bbeb91eee2b7e6b0#diff-dfd5873c7c726ee3f55c59d2b24c0936c4f819b491f315a2f4120f794bce5aad

       

      Trigger a proper performance comparison with https://performance-analyzer.server-tig.prod.corp.mongodb.com/perf-comparison-creator/ (multi-patch) against master and document somewhere if there are notable regressions (how much, which tests).

       

            Assignee:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Reporter:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: