Details
-
Task
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
None
-
Sharding NYC 2023-09-04
Description
Currently this command fails:
db.customers.findAndModify(
|
{
|
query: { "username" : "valenciajennifer" },
|
update: { "address": "Unit 104711 Box 4089 DPO AA 57348" },
|
upsert: true
|
}
|
)
|
With the error:
MongoServerError: Plan executor error during findAndModify :: caused by :: Shard key update is not allowed without specifying the full shard key in the query
|
Attachments
Issue Links
- is related to
-
SERVER-44422 Allow findAndModify and delete one to target by query instead of extracted shard key
-
- Closed
-