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

Add prepare transaction metrics tracking to concurrency test

    • Fully Compatible
    • Repl 2018-11-19, Repl 2018-12-03

      We already have a basic concurrency test to verify that the various transactions metrics tracked in serverStatus follow basic invariants when multiple transactions are run concurrently.

      We should extend this test to include cases with prepared transactions. For example, we can:

      • check that the expected totalPreparedThenAborted and totalPreparedThenCommitted counts are correct
      • check that totalPreparedThenAborted + totalPreparedThenCommitted = totalPrepared
      • check that totalCommitted + totalAborted + totalPreparedThenAborted + totalPreparedThenCommitted + currentOpen = totalStarted

            Assignee:
            jason.chan@mongodb.com Jason Chan
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: