Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76055

Add query execution stages for batched updates

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution

      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. 

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: