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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.2.13, 4.4.5
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4, v4.2
    • Sprint:
      Repl 2020-12-14, Repl 2020-12-28, Repl 2021-01-11, Repl 2021-01-25
    • Linked BF Score:
      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

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

              Dates

              Created:
              Updated:
              Resolved: