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

Introduce retry logic into bulkWrite override

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • None
    • Replication

    Description

      For the bulkWrite override when we are flushing a bulkWrite command there is a possibility it will fail due to network error. We cannot rely on `network_error_and_txn_override` to do this for us because we are overriding runCommand to run the bulkWrite before the original command.

      We should be able to reuse logic / methods from network_error_and_txn_override but cannot rely on its existence.

       

      This is probably actually not needed as long as we include network_error_and_txn_override after the bulkWrite override to get the retry logic

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: