Mongodb Update With Upsert Fails
Here is the statement which fails: db.some_collection.update(query,modifier_set, upsert=True, safe=True) modifier_set is of the form {'$inc':{...}, '$addToSet':{...}} I get an
Solution 1:
It is actually a case of oversized document.
db.collection_name.stats()
confirmed it.
Post a Comment for "Mongodb Update With Upsert Fails"