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

Add total number of open transactions to serverStatus

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      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

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

                Dates

                Created:
                Updated:
                Resolved: