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

Getting DocumentLockedException instead of TimeoutException in FIT LockTest

    XMLWordPrintable

Details

    • 1
    • SDK14: CLoE + Others

    Description

      The Python SDK is using error context fields to return a more specific exception type. In this case, if the "key_value_locked" retry reason is present in the context, the SDK returns DocumentLockedException instead of TimeoutException. 

      We might only need a drive-side change to handle the Python SDK's behaviour unless this is something we can and want to change.

      Failing Tests:

      • LockTest.getAndLockTimeoutHasRetryReasonLocked
      • LockTest.upsertLockedDocumentTimeoutHasRetryReasonLocked
      • LockTest.verifyGetAndLockDoubleLock
      • TouchTest.verifyTouchingLocked

      Attachments

        Issue Links

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

          Activity

            People

              Dimitris.Christodoulou Dimitris Christodoulou
              Dimitris.Christodoulou Dimitris Christodoulou
              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