UnorderedBulkWrite broken for retryableWrites

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.2.4
    • Affects Version/s: 3.2.3
    • Component/s: Native
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In implementing NODE-1864, we discovered that unordered bulk writes had a chance of failing if the following conditions were met:

      • retryWrites=true
      • # of retryable batches > 1

      This has to do with the fact that UnorderedBulkOp currently executes all of its operations in parallel while using the same session (which necessitates serial operations).

      The solution is to make UnorderedBulkOps execute each batch in parallel.

            Assignee:
            Daniel Aprahamian (Inactive)
            Reporter:
            Daniel Aprahamian (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: