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

Write oplog entries with "inTxn" field before prepare

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2019-03-11

      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.

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

              Created:
              Updated:
              Resolved: