[SERVER-56043] Log the error when retrying in auto_retry_transaction.js Created: 12/Apr/21  Updated: 23/Apr/21  Resolved: 23/Apr/21

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

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Won't Fix Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-56103 Add new "Assert" log component Closed
Participants:
Linked BF Score: 137

 Description   

In order to help in diagnosing cases where the transaction is being retried indefinitely.



 Comments   
Comment by Ratika Gandhi [ 23/Apr/21 ]

Will be done with SERVER-56103.

Comment by Randolph Tan [ 14/Apr/21 ]

Initial testing showed that there are instances where the returned error was simply "no such transaction" because the multi statement transaction was aborted half way and was somehow not reported back to the client. It might be more worthwhile to do SERVER-56103 instead as it has a higher chance of capturing the original error that caused the transaction to abort when debugging.

Generated at Thu Feb 08 05:38:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.