[SERVER-37105] Make it clear from the stack trace whether a command is running in a transaction Created: 12/Sep/18  Updated: 29/Oct/23  Resolved: 13/Sep/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.0.3, 4.1.3

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-37681 Make it clear from the stack trace w... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Repl 2018-09-24
Participants:

 Description   

Currently any stack trace that includes a running command includes 'invokeInTransaction' as one of the frames. This can be misleading as we call invokeInTransaction regardless of whether or not the command is actually running in a transaction or not. It'd be nice to be able to easily tell from stack traces whether or not a command is running as part of a transaction.



 Comments   
Comment by Githook User [ 17/Sep/18 ]

Author:

{'name': 'Spencer T Brody', 'email': 'spencer@mongodb.com', 'username': 'stbrody'}

Message: SERVER-37105 Make it clear from the stack trace whether a command is running in a transaction
Branch: v4.0
https://github.com/mongodb/mongo/commit/c13d6fdab8c88787262be65cbf824e46f0ecc348

Comment by Githook User [ 13/Sep/18 ]

Author:

{'name': 'Spencer T Brody', 'email': 'spencer@mongodb.com', 'username': 'stbrody'}

Message: SERVER-37105 Make it clear from the stack trace whether a command is running in a transaction
Branch: master
https://github.com/mongodb/mongo/commit/acc2f4f010aee30505c0fab0c46d5faee84390d9

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