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

Track total number of open transactions in ServerTransactionsMetrics

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              nathan.louie Nathan Louie
              william.schultz@mongodb.com William Schultz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: