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

Refactor coupled transactions metrics tracking code into methods

    • Fully Compatible
    • Repl 2018-08-13, Repl 2018-08-27

      Currently, there are some transactions metrics that are always updated together. We would like to group these metrics together and create methods that will allow us to update coupled metrics at the same time.

      SingleTransactionStats::LastClientInfo::update and SingleTransactionStats::OpDebug::AdditiveMetrics::add are called together in

      SingleTransactionStats::setEndTime and SingleTransactionStats::setInactive are called together in

      ServerTransactionMetrics::decrementCurrentOpen and ServerTransactionMetrics::incrementTotalAborted are called together in

            Assignee:
            jinny.byun Jinny Byun
            Reporter:
            jinny.byun Jinny Byun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: