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

Write oplog entries with "inTxn" field before prepare

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.9
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2019-03-11

    Description

      Oplog entries for individual operations are handled in a similar way as unprepared transactions except they are buffered until and written at the “prepare” time instead of the “commit” time. On “prepare” command, an oplog entry is written for each operation in the transaction with the new root field { “inTxn” : true } to denote it is a no-op.

      Attachments

        Activity

          People

            jason.chan@mongodb.com Jason Chan
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: