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

Make OpObserver::onTransactionPrepare accept buffered statements

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • Replication

    Description

      Currently, onTransactionPrepare() ends the transaction, cleans up the buffered statements and writes them down to the oplog. However, an observer should "observe" not "participate" the operation, so the caller should end the transaction, clean up the buffered statements and pass them into the observer.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: