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

Retry on WT_ROLLBACK when applying prepareTransaction oplog entry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc14, 4.2.9, 4.7.0
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2
    • Sprint:
      Repl 2020-07-27
    • Linked BF Score:
      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

            Assignee:
            suganthi.mani Suganthi Mani
            Reporter:
            tess.avitabile Tess Avitabile
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: