-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Sharding NYC
-
Sharding NYC 2023-09-18
-
2
SERVER-44422 made it so that findAndModify and delete (with limit=1) still work if the two phase protocol is disabled and only the partial shard key is given, as long as only one shard is targeted.
However, those changes have no effect on master because the two phase protocol will always be used if a partial shard key is given. This ticket should update the code for findAndModify and delete (with limit=1) to not use the two phase protocol if a partial shard key is given and only one shard is targeted.
- depends on
-
SERVER-44422 Allow findAndModify and delete one to target by query instead of extracted shard key
- Closed