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

use OplogApplierImpl to process batched writes

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Execution Team 2023-02-20, Execution Team 2023-02-06, Execution Team 2023-03-06

      Batched writes are currently replicated using the atomic applyOps format, which are handled by applyCommand_inlock() in oplog.cpp. We have separate applyOps oplog entry processing logic in OplogApplierImpl/TransactionHistoryIterator which happens earlier in the oplog application logic as we fetch entries off the wire.

      It would be idea to look into using OplogApplierImpl to handle batched writes and atomic applyOps. This ticket will be limited to handling the single applyOps entry format for batched writes and not the multi-oplog format we will eventually support.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: