[SERVER-37681]  Make it clear from the stack trace whether a command is running in a checked out session Created: 19/Oct/18  Updated: 29/Oct/23  Resolved: 09/Nov/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.1.6

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-37179 Wait for specified write concern when... Closed
is related to SERVER-37105 Make it clear from the stack trace wh... Closed
is related to SERVER-37175 POC: Constant transaction number per ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-11-05, Repl 2018-11-19
Participants:

 Description   

SERVER-37105 made it clear if we check out a session in a stack trace, but it implies that we only do so in transactions. We actually do so in retryable writes as well. invokeInTransaction should likely be called invokeWithSessionCheckedOut, and we should add a way to know if this operation is part of a transaction or a retryable write.



 Comments   
Comment by Githook User [ 09/Nov/18 ]

Author:

{'name': 'Judah Schvimer', 'email': 'judah@mongodb.com', 'username': 'judahschvimer'}

Message: SERVER-37681 Make it clear from the stack trace whether a command is running in a checked out session
Branch: master
https://github.com/mongodb/mongo/commit/f71fefa57c4cb19f29766ccbb217eccc8ed523fe

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