Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.1.12
-
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
- is duplicated by
-
PYCBC-1581 FIT: Operations like GET, UPSERT and LOCK on a already locked document are returning DOCUMENT_LOCKED_EXCEPTION while expected exception is AMBIGUOUS_TIMEOUT_EXCEPTION
- Closed