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

TransactionParticipant generates applyOps entry information for prepared transactions rather than delegating to OpObserverImpl

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution NAMR Team 2023-07-10

      OpObserverImpl::preTransactionPrepare() currently generates the applyOps entry information using the provided oplog slots from TransactionParticipant. This applyOps info is returned from the OpObserver interface for TransactionParticipant's own processing. We can move this call to TransactionOperations::getApplyOpsInfo() to the TransactionParticipant and simplify the OpObserver interface by eliminating the need for the OpObserver method to return a result.

            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: