-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Replication
In the case where we return NoSuchTransaction due to the transaction having been aborted, it would be helpful to users to be able to see the reason why (e.g. the transaction exceeded TransactionLifetimeLimitSeconds). This can be useful for e.g. large batched writes where the transaction ends up getting aborted by the periodic cleanup job in between batches.
I think SERVER-35411 would make solving this issue easy so I am linking it, but it's possible we can provide this information in some other way without doing that ticket.
- depends on
-
SERVER-35411 Add abortCause argument to abortActiveTransaction and save it on the session
- Backlog