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

BulkWrite error indexes do not match position in models slice

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.4.1
    • 1.0.1
    • API
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: