Add prepare transaction metrics tracking to concurrency test

XMLWordPrintableJSON

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

      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
              Reporter:
              Pavithra Vetriselvan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: