Uploaded image for project: 'Distributed Transactions .NET'
  1. Distributed Transactions .NET
  2. TXNN-20

Should throw TransactionOperationFailed on individual op failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.0.0-alpha1
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            richard.ponton Richard Ponton
            daschl Michael Nitschinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty