[SERVER-35450] Add information about last client to run transaction operation to currentOp for inactive transactions Created: 06/Jun/18  Updated: 29/Oct/23  Resolved: 26/Jul/18

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

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-35168 Track information about last client t... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Repl 2018-07-30
Participants:

 Description   

Once we track the information about the last client to run an operation against a transaction on a Session, we should output this information in currentOp, for inactive transactions. We should be able to pull the last client info from Session::_txnStats, and output it Session::reportStashedState



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

Author:

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

Message: SERVER-35450 Add SingleTransactionStats::LastClientInfo to CurrentOp for inactive transactions

(cherry picked from commit 835cf665a19d0b5bfddd817bb9b266b479d115fb)
Branch: v4.0
https://github.com/mongodb/mongo/commit/a8f0caa2326bdcece22572f418fc35b9f8909179

Comment by Githook User [ 26/Jul/18 ]

Author:

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

Message: SERVER-35450 Add SingleTransactionStats::LastClientInfo to CurrentOp for inactive transactions
Branch: master
https://github.com/mongodb/mongo/commit/835cf665a19d0b5bfddd817bb9b266b479d115fb

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