-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query
In SERVER-35419, we're introducing a new helper that iterates over a pipeline of DocumentSources and "resolves" the strictest DiskUseRequirement and TransactionRequirement. This code is helpful for the $lookup and $facet stages, which have sub-pipelines of their own and "inherit" the strictest requirement of their children.
This ticket is to investigate what other StageConstraints should be inherited, if any. If there are more, we can genericize StageConstraints::resolveDiskUseAndTransactionRequirement()
to resolve all such constraints. charlie.swanson thinks that FacetRequirement might be eligible. ChangeStreamRequirement looks like it could be eligible, but the existence of kChangeStreamStage makes it seem difficult.
- is related to
-
SERVER-35419 Make diskRequirement in StageConstraints in DocumentSource reflect child pipeline requirements.
- Closed