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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution NAMR Team 2023-07-10

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: