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

Separate special pipeline inclusion and pipeline position checks

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            romans.kasperovics@mongodb.com Romans Kasperovics
            0 Vote for this issue
            2 Start watching this issue