Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1053

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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

      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@mongodb.com Matt Broadstone
            Reporter:
            florent.peyrard@gmail.com Florent Peyrard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: