[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:
Depends
depends on SERVER-35411 Add abortCause argument to abortActiv... Backlog
is depended on by SERVER-35459 Add abortCause counts to serverStatus... Backlog
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.


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