Add query execution stages for batched updates

XMLWordPrintableJSON

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

      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:
            Unassigned
            Reporter:
            Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: