-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Diagnostics, Replication
-
Replication
-
Repl 2018-07-30
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.
- is depended on by
-
SERVER-35413 Catch exception from transaction operation and store error on Session
- Backlog
-
SERVER-35458 Track abortCause counts in ServerTransactionsMetrics
- Backlog
-
SERVER-35464 Add abortCause argument to abortArbitraryTransaction, abortArbitraryTransactionIfExpired and save it on the session
- Backlog
-
SERVER-35867 Add abortCause to slow transaction logging
- Backlog
-
SERVER-84150 Add abort cause to NoSuchTransaction error when transaction was aborted
- Open
- related to
-
SERVER-43889 Distinguish between a retryable write and a transaction when failing a command
- Closed