[SERVER-35458] Track abortCause counts in ServerTransactionsMetrics 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: | global-txn-metrics | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Replication
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
We want to track a global map of transaction abort causes in ServerTransactionsMetrics. This will be a map of type std::map<Status, long long>. We will already be saving the status code for aborted transactions on the Session, so, whenever a transaction aborts, we will need to increment the counter entry in the map for that particular status. |