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

Create rollback test fixture that is compatible with prepared transactions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.8
    • Component/s: Replication
    • Labels:

      Description

      Currently, we use rollback_test.js (3 nodes, PSA) and rollback_test_deluxe.js (5 nodes, PSSAA, for double rollbacks) for testing our rollback algorithm. Unfortunately, neither of these test fixtures will work with prepared transactions because we cannot run prepared transactions on replica sets with arbiters.

      Since we will likely want more test coverage of rollback with prepared transactions, we should make a new test fixture that uses a PSS architecture. We can achieve something similar to the PSA architecture by setting one of the secondaries to priority: 0 and periodically stopping/restarting replication on that node.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: