[SERVER-35302] Add startWallClockTime to the transaction sub-document of currentOp Created: 31/May/18  Updated: 29/Oct/23  Resolved: 13/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-35173 Add autocommit value to transaction s... Closed
depends on SERVER-35300 Track total transaction duration in T... Closed
Documented
is documented by DOCS-12408 Docs for SERVER-35302: Add startWallC... Closed
Problem/Incident
causes SERVER-36361 Round timeOpenMicros to have millisec... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Repl 2018-07-16
Participants:

 Description   

We want the currentOp entry for both active and inactive transactions to contain an entry with a transaction.parameters sub document that contains the startWallClockTime of the transaction. We should be able to retrieve this from the SingleTransactionStats object stored on the session.



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

Author:

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

Message: SERVER-35302 Added startWallClockTime to CurrentOp's transaction sub-document

(cherry picked from commit ae0a1e3b0a0a1e6011f2112a1452c6120539c2d8)
Branch: v4.0
https://github.com/mongodb/mongo/commit/25793a62412bcfb39cca1bf0f11ca4a7603868d8

Comment by Githook User [ 13/Jul/18 ]

Author:

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

Message: SERVER-35302 Added startWallClockTime to CurrentOp's transaction sub-document
Branch: master
https://github.com/mongodb/mongo/commit/ae0a1e3b0a0a1e6011f2112a1452c6120539c2d8

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