-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
QE 2023-05-15, QE 2023-05-29, QE 2023-06-12, QE 2023-06-26, QE 2023-07-10, QE 2023-07-24, QE 2023-08-07, QE 2023-08-21, QE 2023-09-04, QE 2023-09-18, QE 2023-10-02, QE 2023-10-16, QE 2023-10-30, QE 2023-11-13, QE 2023-11-27, QE 2023-12-11
PositionRequirement enum specifies if a stage has to be in a certain position in a pipeline. PositionRequirement::kNone means the stage does not have any position requirements.
Currently, some special pipelines (change stream, facet and update pipelines), prohibit stages with position requirements for some reason.
These pipelines have an alternative mechanism to allow / deny certain stages. If some stages are incompatible with certain special pipelines, the aforementioned mechanism should be used instead of PositionRequirement for better separation of concepts.