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

Add statistics for TransactionParticipant to currentOp

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication

      We should be able to see in $currentOp output the state a transaction is in (started, aborted, prepared, etc), and how long it has been in that state. In particular we should distinguish between "aborting"/"preparing"/"committing" (commands for those states have been issued, but not yet finished) and the normal in-progress state. We should also include why we are waiting in these states (e.g. we may be waiting for RSTL acquisition).

      We should also add stats counters to FTDC for the aborting/preparing/committing states.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: