[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: |
|
||||||||||||||||||||||||||||||||
| 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. |