Introduce O(1) / O(<pipeline length>) isEOF method to aggregation pipeline

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-96643 we cover simple cases where we can immediately say that there is no more documents coming to avoid saving an empty cursor.

      It can be beneficial to have the same for general aggregation pipelines.

            Assignee:
            Unassigned
            Reporter:
            Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: