Track transaction size on 4.0

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.9
    • Affects Version/s: None
    • Component/s: Diagnostics, Replication
    • None
    • Fully Compatible
    • v4.0
    • Repl 2019-04-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Adding metrics around the size of transactions could help us determine what use cases to optimize for. Metrics for the last run transaction:

      1. Number of operations in the transaction
      2. Total size of transaction statements in oplog
      3. Write Concern

      There will be a new serverStatus section transactions.lastCommittedTransaction:

      {
          "operationCount" : NumberLong(1),
          "oplogOperationBytes" : NumberLong(151),
          "writeConcern": {
              "w" : 1,
              "wtimeout" : 0
          }
      }
      

              Assignee:
              Tess Avitabile (Inactive)
              Reporter:
              Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: