Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1326

Improve transaction exceptions

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None
    • 1

    Description

      When TXNCXX-223 or TXNCXX-219 are implemented, we will have access to more information on the cause of the exceptions coming back from transactions, both for an operation and the entire transaction.   Lets fold that into our CouchbaseException so we have a nested cause or similar.  Really, most people don't look at this programmatically, but they do print them out, and having this info in their logs will be helpful.   Of course, if they have enabled the client logging they will have this info as well, but still important to have this available no matter what.

       

      NOTE: the TXNCXX-223 is there for me to ponder aligning the transactions with the rest of the client around error_code – no exceptions at all.   That is a bigger (and probably better)way to go, but TXNCXX-219 is just about surfacing the underlying causation.  Ultimately, 223 will depend on figuring out how to nest 2 error_codes cleanly.   Till then, we can do 219, then support it here.  

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            david.kelly David Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty