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

Support cursors for transaction API exhaustive find

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding 2022-03-07, Sharding NYC 2022-03-21, Sharding NYC 2022-04-04
    • 2

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: