-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Sharding NYC 2023-09-04
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
- is related to
-
SERVER-44422 Allow findAndModify and delete one to target by query instead of extracted shard key
- Closed