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

Retry on WT_ROLLBACK when applying prepareTransaction oplog entry

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.0-rc14, 4.2.9, 4.7.0
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Repl 2020-07-27
    • 22

    Description

      When applying a prepareTransaction oplog entry, we apply all the operations here then fassert that this succeeds. However, applying the operations is allowed to fail with WT_ROLLBACK. We must add a writeConflictRetry loop that surrounds the storage transaction (which is started here).

      Attachments

        Activity

          People

            suganthi.mani@mongodb.com Suganthi Mani
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: