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

Add statistics for TransactionParticipant to currentOp

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: