mongoid3 - Duplicate Documents in MongoDB -


i'm running issue i'm sporadically having duplicate documents inserted mongodb collection. it's happened handful of times and, in cases, duplicates created within same second original. original guess needed add unique index on field, i'm not sure prevent duplicates being created simultaneously, though maybe i'm overthinking that.

is there possible reason seeing duplicate documents in mongodb other lack of unique index?


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -