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

Create a metrics.abortExpiredTransactions.totalAborted counter

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

      The metrics added in SERVER-76001 allow information to be gathered about the state of the PeriodicThreadToAbortExpiredTransactions, however if any expired transactions are aborted by the thread they would increment transactions.totalAborted - which cannot be differentiated from a transaction being aborted by calling abortTransaction.

      This ticket proposes adding a new counter to metrics.abortExpiredTransactions that increments with each transaction the thread aborts directly based on expiration criteria being met.

            Assignee:
            Unassigned Unassigned
            Reporter:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: