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

For active sessions only set transaction stats in TransactionRouter::Observer::_reportState()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1, 4.3.1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Sprint:
      Sharding 2019-08-26

      Description

      As part of constructing a currentOp entry, TransactionRouter::_reportState adds stats for its current transaction to a BSONObjBuilder. These stats include some that will have already been set for active transactions, like "type", "host", "desc" (set in CurOp::reportCurrentOpForClient(). Instead, when the TransactionRouter's session is active, it should only set the "transaction" field.

        Attachments

          Activity

            People

            Assignee:
            jack.mulrow Jack Mulrow
            Reporter:
            jack.mulrow Jack Mulrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: