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

Make retryable_findAndModify_commit_and_abort_prepared_txns_after_failover_and_restart.js wait for the prepareTransaction oplog entry to be majority committed

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Sharding NYC
    • 8

    Description

      Currently in the test, we do a stepdown immediately after entering the prepareTransaction state. If the stepdown is executed before the prepareTransaction oplog entry is majority committed, the following commitTransaction will fail. Waiting for the entry to fully replicate before continuing should fix this issue.

      Attachments

        Activity

          People

            backlog-server-sharding-nyc [DO NOT USE] Backlog - Sharding NYC
            jason.zhang@mongodb.com Jason Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: