Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1934

UnorderedBulkWrite broken for retryableWrites

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.4
    • Affects Version/s: 3.2.3
    • Component/s: Native
    • 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@mongodb.com Daniel Aprahamian (Inactive)
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: