Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1028

BulkWrite error indexes do not match position in models slice

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.1
    • Affects Version/s: 1.0.1
    • Component/s: API
    • Environment:
      Linux

      When doing an unordered BulkWrite, the `WriteError.Index` returned on errors doesn't correspond to the position of the failed model in the models slice.

      Repro attached.

            Assignee:
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Reporter:
            jbamsterdam@gmail.com Jonathan Amsterdam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: