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

Add query execution stages for batched updates

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution

    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. 

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: