Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
None
Description
At present, we don't allow non-multi updates (single-document updates) on a sharded collection unless the query argument to update includes the shard key, (presumably because doing so would be non-deterministic, or something).
It would be handy for some applications to relax this restriction to permit updates where the query argument to the update includes a constant-valued _id parameter, even if the shard key were missing or incomplete in the query.