[SERVER-35434] Track aggregate OpDebug stats in SingleTransactionStats Created: 05/Jun/18  Updated: 29/Oct/23  Resolved: 09/Jul/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: Jinny Byun
Resolution: Fixed Votes: 0
Labels: per-txn-metrics
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-35428 Add the ability to add two OpDebug ob... Closed
is depended on by SERVER-35432 Add a method for printing out informa... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Repl 2018-07-02, Repl 2018-07-16
Participants:

 Description   

We want to track aggregate operation stats inside SingleTransactionsStats using an OpDebug object that accumulates stats from all operations run inside a transaction. We should have an OpDebug member variable on SingleTransactionStats, and we should add to it the stats from the latest operation whenever that operation finishes i.e. whenever a transaction operation stashes its resources, we will add its CurOp::_debug field to the aggregate OpDebug instance stored in the SingleTransactionsStats instance on the session.



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

Author:

{'username': 'jinichu', 'email': 'jinnybyun@gmail.com', 'name': 'jinichu'}

Message: SERVER-35434 Added an OpDebug object to SingleTransactionStats to track aggregate OpDebug stats

(cherry picked from commit f7dbf6f03397ef6317d8e9dc7bbb32e41a0745d1)
Branch: v4.0
https://github.com/mongodb/mongo/commit/2c59ae0e3401ca824c8d9393b90d357779cf2e34

Comment by Githook User [ 09/Jul/18 ]

Author:

{'username': 'jinichu', 'name': 'jinichu', 'email': 'jinnybyun@gmail.com'}

Message: SERVER-35434 Added an OpDebug object to SingleTransactionStats to track aggregate OpDebug stats
Branch: master
https://github.com/mongodb/mongo/commit/f7dbf6f03397ef6317d8e9dc7bbb32e41a0745d1

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