Do not send an extra getMore when resuming if aggregate returns an empty batch

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When resuming change stream, we call mongoc_cursor_next on the cursor we create with the aggregate command. But if the aggregate returned an empty batch, we mongoc_cursor_next will send another getMore command (but we should just return NULL in that case).

            Assignee:
            Samantha Ritter (Inactive)
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: