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

call awaitLastOpCommitted before committing transaction in retryable_prepared_commit_transaction_after_failover.js

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0, 4.2.13, 4.4.5
    • Replication
    • None
    • Fully Compatible
    • v4.4, v4.2
    • Repl 2020-12-14, Repl 2020-12-28, Repl 2021-01-11, Repl 2021-01-25
    • 17

    Description

      If the primary hadn't propagated the commit point to the secondary before it's stepped up in the test, then when the new primary goes to commit the transaction, it may not think that the prepare was majority committed. We should call awaitLastOpCommitted after the new primary steps up before committing the transaction.

      Attachments

        Activity

          People

            samy.lanka@mongodb.com Samyukta Lanka
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: