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

Add counts of active and inactive transactions to serverStatus

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

      We want to output the number of active and inactive transactions in the "transactions" serverStatus section by utilizing the existing metrics tracked in the currentActive and currentInactive fields of MultiDocumentTransactionStats. If they do not already exist, we need to add currentActive and currentInactive fields to the transactions_stats.idl class, so that we can serialize these counters to the serverStatus output object in the TransactionsSSS::generateSection method. We also need to make sure that the ServerTransactionsMetrics::updateStats updates the appropriate fields on the TransactionsStats object.

            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: