[SERVER-35413] Catch exception from transaction operation and store error on Session Created: 05/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: None
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-35414 Update appropriate callers of abortAc... Backlog
Assigned Teams:
Replication
Participants:

 Description   

If a transaction aborts due to a transaction operation throwing an exception, we want to save that error. Currently, when we run an operation inside a transaction, we will abort the transaction if an exception is thrown, but we won't save the error. We want to change this behavior so that we pass the error status thrown by the exception into Session::abortActiveTransaction.


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