[SERVER-40987] Track and log relevant single two phase commit metrics on mongod for currentOp Created: 03/May/19  Updated: 06/Nov/19  Resolved: 22/Aug/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.2.1, 4.3.1

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Lamont Nelson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Gantt Dependency
has to be done after SERVER-40978 Create class for tracking single two ... Closed
Backport Requested:
v4.2
Sprint: Sharding 2019-08-12, Sharding 2019-08-26
Participants:

 Description   

This ticket has two parts, from this section of the diagnostics scope:

  • Ensuring the currentOp output for each worker thread spawned by a TransactionCoordinator includes the coordinator's txnNumber and lsid, a startTime, and the action it was created for.
  • Ensuring the currentOp output for coordinateCommitTransaction operations contain the txnNumber and lsid of the TransactionCoordinator they are waiting for a decision from.


 Comments   
Comment by Githook User [ 10/Sep/19 ]

Author:

{'name': 'Lamont Nelson', 'username': 'lamontnelson', 'email': 'lamont.nelson@mongodb.com'}

Message: SERVER-40987 Output transaction information in curOp for coordinator worker
threads.

(cherry picked from commit 65bf2734c67f8c2cc74df24df2c3b11cff71f9c0)
Branch: v4.2
https://github.com/mongodb/mongo/commit/1433098d886917211c4483aa48c6ec1b28feead1

Comment by Githook User [ 22/Aug/19 ]

Author:

{'name': 'Lamont Nelson', 'email': 'lamont.nelson@mongodb.com', 'username': 'lamontnelson'}

Message: SERVER-40987 Output transaction information in curOp for coordinator worker
threads.
Branch: master
https://github.com/mongodb/mongo/commit/65bf2734c67f8c2cc74df24df2c3b11cff71f9c0

Comment by Lamont Nelson [ 13/Aug/19 ]

SERVER-42809 was added to track the third and final part of this work. The scope for the current ticket, SERVER-40987, was updated.

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