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).
- is depended on by
-
SERVER-103954 Create a dynamic DocumentSource to agg::Stage mapping function
-
- In Progress
-
-
SERVER-104224 Inherit individual DocumentSource subclasses from agg::Stage
-
- In Progress
-
- is duplicated by
-
SERVER-101686 Create a base class for execution pipeline stages
-
- Closed
-
- related to
-
SERVER-104224 Inherit individual DocumentSource subclasses from agg::Stage
-
- In Progress
-