[SERVER-76055] Add query execution stages for batched updates Created: 13/Apr/23  Updated: 02/Aug/23

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

Type: Task Priority: Major - P3
Reporter: Shin Yee Tan Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Participants:

 Description   

The current UpsertStage/UpdateStage updates documents one by one. It might be nice to introduce a BatchedUpsertStage/BatchedUpdateStage that batches multi-document updates into a single WUOW to fully utilize our batched write functionality and group these related writes together in the oplog. This would be similar to the BatchedDeleteStage and we could utilize the stage here.

We currently call performUpdates where we receive a wholeOp and iterate through each operation. We may potentially want to batch these updates together. 


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