[SERVER-76150] Log the error being handled in the transaction API Created: 14/Apr/23  Updated: 29/Oct/23  Resolved: 15/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc1

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

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Sharding NYC 2023-04-17
Participants:

 Description   

The transaction API has logic to retry on errors and will log the next step it takes after an error, but won't log the actual error. It'd be easier to diagnose failures if we include the error and possibly which handler was invoked.



 Comments   
Comment by Githook User [ 02/May/23 ]

Author:

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

Message: SERVER-76150 Include more info in transaction API error handling log

(cherry picked from commit af63abbf1bf203cff253d76e1bf324286ebfbe85)
Branch: v7.0
https://github.com/mongodb/mongo/commit/fbc551d6e6b6874e357d4be0590508b85f9717b7

Comment by Githook User [ 14/Apr/23 ]

Author:

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

Message: SERVER-76150 Include more info in transaction API error handling log
Branch: master
https://github.com/mongodb/mongo/commit/af63abbf1bf203cff253d76e1bf324286ebfbe85

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