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

Introduce retry logic into bulkWrite override

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication

      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

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: