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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Sharding NYC
    • 8
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Sharding NYC
            Reporter:
            Jason Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: