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

Add total number of open transactions to serverStatus

    XMLWordPrintable

Details

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

    Description

      We want to output the total number of open transactions in the "transactions" serverStatus section by utilizing the existing metrics tracked in ServerTransactionsMetrics::currentOpen. We need to add a currentOpen field to the transactions_stats.idl class, so that we can serialize the counter to the serverStatus output object in the TransactionsSSS::generateSection method. The TransactionsSSS::generateSection method returns a BSON object that goes into the transactions section of the serverStatus output.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: