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

Wait for applied majority writes in txn_two_phase_commit_write_concern.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Abdul Qadeer
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: