[SERVER-40985] Log metrics on mongos when slow transaction completes Created: 03/May/19  Updated: 29/Oct/23  Resolved: 29/May/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.13

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Duplicate
is duplicated by SERVER-40981 Create class for tracking single shar... Closed
Related
related to SERVER-41376 Track time transactions on mongos are... Closed
related to SERVER-41378 Track abortSource for aborted transac... Closed
is related to SERVER-40983 Track and log relevant single transac... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2019-05-20, Sharding 2019-06-03
Participants:
Linked BF Score: 0

 Description   

When a TransactionRouter completes committing or aborting a transaction, if the commit took longer than the default 100ms threshold, log the slow transaction metrics as described in this section of the diagnostics scope. The metrics logged should be re-usable from SERVER-40983.



 Comments   
Comment by Jack Mulrow [ 29/May/19 ]

The remaining work for this ticket was spun off into SERVER-41376 and SERVER-41378, so closing as fixed.

Comment by Githook User [ 17/May/19 ]

Author:

{'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}

Message: SERVER-40985 handle windows line endings in test
Branch: master
https://github.com/mongodb/mongo/commit/6cebd61ff8d36e5b61e491419baa4808a98324a6

Comment by Githook User [ 16/May/19 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-40985 Basic slow transaction logging on mongos
Branch: master
https://github.com/mongodb/mongo/commit/41b24ead1f55009652e8e4aec64fd3226f1ba233

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