Open
Description
Feature Request
Q | A |
---|---|
New Feature | yes |
RFC | no |
BC Break | no |
Summary
Future server versions may no longer require a shard key in updateOne (DRIVERS-817). This may also extend to deleteOne and findAndModify. I believe ODM currently injects the shard key into queries to satisfy the requirement for current server versions, but this is something that may be possible to relax down the line. Opening this issue as a preemptive tracking ticket.
There is a separate initiative to relax this requirement for updateMany (DRIVERS-818); however, that is being scoped/designed independently and may come in a later server version than updateOne support.