Track total number of open transactions in ServerTransactionsMetrics

XMLWordPrintableJSON

    • Fully Compatible
    • v4.0
    • Repl 2018-07-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We want to track the total number of open transactions. To do this, we should add a currentOpen counter field to ServerTransactionsMetrics to track this metric. A transaction is considered "open" for the period of time after it starts and before it commits or aborts. We will update the ServerTransactionsMetrics::currentOpen counter whenever a transaction starts, and decrement it anytime it commits or aborts.

              Assignee:
              Nathan Louie (Inactive)
              Reporter:
              Will Schultz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: