[SERVER-70418] Add findAndModify Genny actor Created: 10/Oct/22  Updated: 05/Dec/22  Resolved: 18/Oct/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Sanika Phanse (Inactive) Assignee: [DO NOT USE] Backlog - Sharding NYC
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding NYC
Participants:

 Comments   
Comment by Sanika Phanse (Inactive) [ 18/Oct/22 ]

Already exists, ticket not necessary.

Comment by Sanika Phanse (Inactive) [ 10/Oct/22 ]

Ohh, seems like I misunderstood those commands. I thought they execute two phases, a find and then the update/replace/delete. Can you point me to how I could've seen that they ultimately use the findAndModify server command? But yes, given that those CrudActors use the findAndModify server command, this ticket is unnecessary and we can close it. 

Comment by Max Hirschhorn [ 10/Oct/22 ]

The CrudActor supports findOneAndUpdate, findOneAndReplace, and findOneAndDelete. These all use the same underlying findAndModify server command. sanika.phanse@mongodb.com, may I ask what is insufficient about the CrudActor here?

Generated at Thu Feb 08 06:16:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.