[SERVER-35464] Add abortCause argument to abortArbitraryTransaction, abortArbitraryTransactionIfExpired and save it on the session Created: 06/Jun/18 Updated: 06/Dec/22 |
|
| 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: |
|
||||||||
| Assigned Teams: |
Replication
|
||||||||
| Participants: | |||||||||
| Description |
|
When we abort a transaction by calling Session::abortArbitraryTransaction or Session::abortArbitraryTransactionIfExpired, we want to save the reason for the transaction being aborted. We should add Status abortCause arguments to both of these methods and store the passed in Status in the session's abort cause member field. We should also update any callers of these methods and pass in the appropriate abort status values.. |