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

Add statistics for TransactionParticipant to currentOp

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Needs Scheduling
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Case:

      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

            Assignee:
            backlog-server-repl Backlog - Replication Team
            Reporter:
            matthew.russotto Matthew Russotto
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated: