[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: |
|
||||||||||||
| 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: |
| Comment by Githook User [ 13/Sep/18 ] |
|
Author: {'name': 'Spencer T Brody', 'email': 'spencer@mongodb.com', 'username': 'stbrody'}Message: |