We currently do the wrong thing on updates like db.foo.update({_id:1}, {$inc:{a:1}}). We need to treat it as multi unless sharding by _id.
- is duplicated by
-
SERVER-4098 Sharding: Unable to Upsert when shard key is in an embedded doc
- Closed