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

Support iterating through bulkWrite response cursor for internal transactions

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication

    Description

      There is now a helper function to run bulkWrite request under an internal transaction. The bulkWrite command returns a cursor in its response. For the case where the response cursor isn't immediately exhausted (i.e. cursor id != 0), we must add logic to iterate through the response cursor in the transaction api helper.

      This only helps bulkWrite used in internal transactions. I think it is ok to punt on this until we have real use cases to run big enough bulkWrite in internal transactions that actually requires multiple response batches.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: