Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
total - 4*5 = 20
LockTest.unlockCasMismatch
LockTest.unlockNotFound
LockTest.verifyUnlockCasMismatch
LockTest.verifyUnlockInvalidArgumentExceptions
unlock commands of lock tests are failing with `other` exception, while we expect them to fail with `CouchbaseException`
----------------------
Taking example of unlockNotFound(), where we are sending:
collection_command {
|
collection {
|
bucket_name: "default" |
scope_name: "_default" |
collection_name: "_default" |
}
|
unlock {
|
location {
|
specific {
|
collection {
|
bucket_name: "default" |
scope_name: "_default" |
collection_name: "_default" |
}
|
id: "a8e88b89-3e42-4652-8dd6-212a6930c667" |
}
|
}
|
cas: 1 |
}
|
}
|
And are getting result:
exception {
|
other {
|
name: "Error" |
serialized: "{}" |
}
|
}
|
While in Java we are seeing below result:
exception {
|
couchbase {
|
name: "DocumentNotFoundException" |
type: SDK_DOCUMENT_NOT_FOUND_EXCEPTION
|
serialized: "com.couchbase.client.core.error.DocumentNotFoundException: Document with the given id not found {\"completed\":true,\"coreId\":\"0x2eedeef800000002\",\"idempotent\":false,\"lastChannelId\":\"2EEDEEF800000002/000000008B3067EE\",\"lastDispatchedFrom\":\"10.100.195.85:49755\",\"lastDispatchedTo\":\"172.23.111.128:11210\",\"requestId\":54,\"requestType\":\"UnlockRequest\",\"retried\":11,\"retryReasons\":[\"BUCKET_OPEN_IN_PROGRESS\"],\"service\":{\"bucket\":\"default\",\"collection\":\"_default\",\"documentId\":\"<ud>5c07555e-edc4-4c0c-986b-03534119cf46</ud>\",\"errorCode\":{\"description\":\"Not Found\",\"name\":\"KEY_ENOENT\"},\"opaque\":\"0x65\",\"scope\":\"_default\",\"type\":\"kv\",\"vbucket\":316},\"status\":\"NOT_FOUND\",\"timeoutMs\":2500,\"timings\":{\"dispatchMicros\":253186,\"totalDispatchMicros\":253186,\"totalServerMicros\":0,\"totalMicros\":1336362,\"serverMicros\":0}}" |
}
|
}
|
Attaching driver and performer logs for reference.
Thanks!!
Attachments
Issue Links
- duplicates
-
JSCBC-1244 Expected CouchbaseException but got some other exception
- Open