_id unicity violated by insertOne when _id is specified in inserted doc

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.2.29
    • Component/s: MongoDB 3.4
    • Environment:
      * node.js version : 6.10.3
      * MongoDB Atlas version : 3.4.4
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

      with insertOne, it is possible to insert 2 documents (no more) with the same _id (specifying _id in the inserted doc). If I try once more, I get HTTP 500.

      Hope this helps,

              Assignee:
              Matt Broadstone
              Reporter:
              Florent Peyrard
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: