Wait for applied majority writes in txn_two_phase_commit_write_concern.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • Cluster Scalability 2024-09-02
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In txn_two_phase_commit_write_concern.js, the test checks if the txn coordinator majority commits the decision irrespective of the user write concern. Due to PM-3489 it is no longer a valid assumption that a majority committed write has been applied on a majority of nodes yet, only that a majority have acknowledged it to be made durable in future. Before checking for majority committed decision here, we need to make sure that the writes are actually applied.

            Assignee:
            Abdul Qadeer
            Reporter:
            Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: