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

Transactions: App hangs when trying to get a document that does not exist within a transactions lambda

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.1.4
    • 4.0.0, 4.1.0, 4.1.3
    • None
    • None
    • 0
    • SDK16

    Description

      Currently the Python SDK is using a legacy Get stage when executing get operations within a transactions lambda. This legacy Get stage will return an empty response if trying to get a document that does not exist. We should update the Python SDK to use the correct Get stage.

      Tasks:

      • Update the transactions bindings to use the right Get stage from the C++ client
      • Update tests to have better coverage for error scenarios
      • Remove print statements in txns:

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            jared.casey Jared Casey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty