-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
AggregationPlan should manage ownership of the AutoGetCollectionForReadCommandMaybeLockFree, AutoStatsTracker, and MultipleCollectionAccessor used in the run_aggregate path to make lock and collection acquisition clearer along the path. With this change, we can also then avoid the passing of "initContext" and "resetContext" lambda captures as parameters throughout the file.
This should warrant thinking of a better name than AggregationPlan to make it clear that the structure is holding important lock state.
- depends on
-
SERVER-82228 Refactor run_aggregate with a AggregationPlan class
- Closed
-
SERVER-82720 Refactor run_aggregate to use a helper function that manages lock acquisition and collation resolution
- Closed
- is depended on by
-
SERVER-82723 Refactor run_aggregate to use helper functions for executing the query
- In Progress
-
SERVER-82720 Refactor run_aggregate to use a helper function that manages lock acquisition and collation resolution
- Closed
-
SERVER-82724 Refactor run_aggregate to use helper functions for executing the query
- Closed