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

Create rollback test fixture that is compatible with prepared transactions

    • Fully Compatible
    • Repl 2019-01-14, Repl 2019-01-28
    • 8

      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.

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: