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

Support cursors for transaction API exhaustive find

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Sharding 2022-03-07, Sharding NYC 2022-03-21, Sharding NYC 2022-04-04
    • 2

      Currently, exhaustiveFind in the transaction API only allows finds with the singleBatch option set. To make the find useful for reads that can return more than one batch of data, we should update that method to detect when there is more than one batch (by checking the original response) and iterating the find's cursor until it's exhausted before returning to the caller.

            Assignee:
            jason.zhang@mongodb.com Jason Zhang
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: