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

Add total number of committed and aborted transactions to serverStatus

    XMLWordPrintableJSON

Details

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

    Description

      We want to output the total number of committed and aborted transactions in the "transactions" serverStatus section by utilizing the existing metrics tracked in the totalCommitted and totalAborted fields of ServerTransactionsMetrics. We need to add totalCommitted and totalAborted fields to the transactions_stats.idl class, so that we can serialize these counters 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

        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: