Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8516

unique index allowed insertion of duplicate

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 2.2.2
    • Component/s: Storage
    • None
    • Environment:
      Amazon ec2 server using Ubuntu 12.04.1 LTS and EBS
    • Linux

      A duplicate document somehow made it into a collection with a unique index. I did not discover that this occurred for some time – after an ensureIndex call on the collection failed. Both inserts occurred at about the same time – the timestamps for their respective ObjectId's are equivalent. What is strange is that two inserts were not actually executed against the collection, yet somehow two duplicate records ended up in the collection.

            Assignee:
            Unassigned Unassigned
            Reporter:
            danieldkim Daniel Kim
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: