[SERVER-35411] Add abortCause argument to abortActiveTransaction and save it on the session Created: 05/Jun/18  Updated: 13/Dec/23

Status: Backlog
Project: Core Server
Component/s: Diagnostics, Replication
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: per-txn-metrics
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-35413 Catch exception from transaction oper... Backlog
is depended on by SERVER-35458 Track abortCause counts in ServerTran... Backlog
is depended on by SERVER-35464 Add abortCause argument to abortArbit... Backlog
is depended on by SERVER-35867 Add abortCause to slow transaction lo... Backlog
is depended on by SERVER-84150 Add abort cause to NoSuchTransaction ... Open
Related
related to SERVER-43889 Distinguish between a retryable write... Closed
Assigned Teams:
Replication
Sprint: Repl 2018-07-30
Participants:

 Description   

When we abort a transaction by calling Session::abortActiveTransaction, we need to know the reason for the transaction being aborted. We want to add a method overload of Session::abortActiveTransaction that takes a Status abortCause argument. We also want to save this Status value in Status _abortCause member variable on the Session class. Initially, we will overload the abortActiveTransaction with this new signature, so that we don't have to update all callers right away. Eventually, we will get rid of the existing method and make this new form (that takes an abort cause argument), the only version.



 Comments   
Comment by William Schultz (Inactive) [ 31/Jul/18 ]

nathan.louie I think we can put this ticket on hold. We will eventually do it as part of the improved transaction error handling project.

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