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
Post a Comment