[SERVER-63038] Add a query execution stage for batching deletes Created: 27/Jan/22  Updated: 29/Oct/23  Resolved: 03/Mar/22

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

Type: Task Priority: Major - P3
Reporter: Josef Ahmad Assignee: Josef Ahmad
Resolution: Fixed Votes: 0
Labels: PM-2227-M1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-03-07
Participants:

 Description   

Introduce a BatchedDeleteStage that batches multi-document deletions into a single WUOW, unlike the DeleteStage which deletes documents one by one.
Batch deletions up to targetDocs and targetTimeMS.
Make the batched deletion plan externally available like the existing document-by-document deletion plan.
Make batched deletions available internally for user-initiated multi:true deletes.



 Comments   
Comment by Githook User [ 02/Mar/22 ]

Author:

{'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}

Message: SERVER-63038 Add BATCHED_DELETE query exec stage
Branch: master
https://github.com/mongodb/mongo/commit/97c6a9e443ff7e171b7310a1fa5c05d0768faff9

Generated at Thu Feb 08 05:56:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.