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

Add serverStatus counters for transaction retries

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Server Security
    • Fully Compatible
    • Security 2023-01-09, Security 2023-01-23

    Description

      The txn api in src/mongo/db/transaction/transaction_api.cpp automatically retries on certain errors.

      Add a new serverStatus section (there may also be one that make sense to extend) that tracks the following
      1. Aggregated number of txns retried due to ErrorCodes::TransactionAPIMustRetryTransaction
      2. Aggregated number of txns retried due to ErrorCodes::TransactionAPIMustRetryCommit
      3. Number of successful runs of TransactionWithRetries::run

      Attachments

        Activity

          People

            spencer.jackson@mongodb.com Spencer Jackson
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: