-
Type: Bug
-
Resolution: Done
-
Priority: 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.