Write oplog entries with "inTxn" field before prepare

XMLWordPrintableJSON

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

      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
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: