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

Add total number of open transactions to serverStatus

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

      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.

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

              Created:
              Updated:
              Resolved: