Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1602

Duplicate Key Error even when IsOrdered set to false.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.3
    • API
    • None
    • MongoDB 3.2.4

    Description

      This is the code I'm running:

      InsertManyOptions options = new InsertManyOptions();
      options.IsOrdered = false;
      await collection.InsertManyAsync(
           records.ToBsonList(),
           options);
      

      and this the error.
      I didn't experienced it in MongoDB 3.2.3.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Zeioth Zeioth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: