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

Make OpObserver::onTransactionPrepare accept buffered statements

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Replication

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: