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

Create an oplog chain and update config.transactions for retryable writes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Repl 2021-03-08, Repl 2021-03-22
    • 178

      As part of writing noop oplog entries on the recipient, use TransactionParticipant (and config.transactions) itself to cache the OpTime of the last noop oplog entry for each session to create an oplog chain for retryable writes and update config.transactions.

      The noop oplog entry should contain "fromMigrate: true" and contain the original oplog entry in the "o2" field so that the SessionUpdateTracker on secondaries recognizes the noop oplog entry as a retryable write oplog entry and updates its config.transactions.

            Assignee:
            matthew.russotto@mongodb.com Matthew Russotto
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: