[SERVER-35146] Track total number of started transactions Created: 22/May/18  Updated: 29/Oct/23  Resolved: 14/Jun/18

Status: Closed
Project: Core Server
Component/s: Diagnostics, Replication
Affects Version/s: None
Fix Version/s: 4.0.2, 4.1.1

Type: Task Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: Nathan Louie
Resolution: Fixed Votes: 0
Labels: global-txn-metrics
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-35129 Create a ServerTransactionsMetrics cl... Closed
is depended on by SERVER-35292 Add total number of started transacti... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Repl 2018-06-18
Participants:

 Description   

We want to track the total number of transactions started since the last server startup. To do this, we should add a totalStarted counter field to ServerTransactionsMetrics that tracks this metric. We will increment this counter every time a new multi-document transaction starts. Additionally, we will need to add a totalStarted field to the transactions_stats.idl class, so that we can serialize this counter to the serverStatus output object.



 Comments   
Comment by Githook User [ 16/Aug/18 ]

Author:

{'username': 'nxlouie', 'email': 'nathan.louie@10gen.com', 'name': 'Nathan Louie'}

Message: SERVER-35146 Track total number of started transactions

(cherry picked from commit 208deb2a3652b5c055b988d4585aef4c98e0c4af)
Branch: v4.0
https://github.com/mongodb/mongo/commit/679a9cccecc9c03a5b045a03b56c09bdab7a486b

Comment by Githook User [ 14/Jun/18 ]

Author:

{'name': 'Nathan Louie', 'email': 'nathan.louie@10gen.com'}

Message: SERVER-35146 Track total number of started transactions
Branch: master
https://github.com/mongodb/mongo/commit/208deb2a3652b5c055b988d4585aef4c98e0c4af

Generated at Thu Feb 08 04:38:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.