Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
-
1
Description
When an individual op fails, right now the txn lib throws a Couchbase.Transactions.Error.Internal.ErrorWrapperException which is marked as internal and I cannot use it to check the error and raise it up to the txn driver.
In Java, an external TransactionOperationFailed is thrown instead which can then be looked at.
See https://github.com/couchbaselabs/transactions-fit-performer/blob/master/performers/java/txn-performer-java/src/main/java/com/couchbase/twoway/TwoWayTransaction.java#L590 for reference.
Attachments
For Gerrit Dashboard: TXNN-20 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
137504,4 | TXNN-16: Error Handling according to spec TXNN-7: Implement ExpirationOvertimeMode TXNN-20: TransactionOperationFailed should propagate to end users | master | couchbase-transactions-dotnet | Status: MERGED | +2 | +1 |
137505,1 | TXNN-16: Error Handling according to spec TXNN-7: Implement ExpirationOvertimeMode TXNN-20: TransactionOperationFailed should propagate to end users | master | couchbase-transactions-dotnet | Status: ABANDONED | 0 | 0 |