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? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -