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

Support iterating through bulkWrite response cursor for internal transactions

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Replication

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: