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

BulkWrite error indexes do not match position in models slice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.4.1
    • Component/s: API
    • Security Level: Public
    • Labels:
    • Environment:
      Linux

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: