Update lastWriteOpTime for prepareTransaction on secondary

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Repl 2019-05-20, Repl 2019-06-03
    • 15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      lastWriteOpTime will be used to maintain the oplog chain when writing commit oplog entry. Since the secondary doesn't update it right now, committing the transaction will not have the link from the commit entry to the prepare.

      We should also add invariants to wherever prevOpTime shouldn't be null when writing oplog entries.

              Assignee:
              Vesselina Ratcheva (Inactive)
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: