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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.2.13, 4.4.5
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • v4.4, v4.2
    • Repl 2020-12-14, Repl 2020-12-28, Repl 2021-01-11, Repl 2021-01-25
    • 17

      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.

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

              Created:
              Updated:
              Resolved: