Details
-
Task
-
Resolution: Unresolved
-
Major
-
None
-
3.1.0
-
Transction: 1.1.4
Java client: 3.1.0
Server: Enterprise Edition 7.0.0 build 4449
-
1
Description
Scenario:
- Single node cluster
- Couchbase bucket
- Load docs into collection which does not exists with sdk_timeout=5
Observation:
In the exception::retryReason seeing two different values:
- COLLECTION_MAP_REFRESH_IN_PROGRESS
- COLLECTION_NOT_FOUND
Which is still okay since client is taking sometime to sync the metakv with the server.
Would be better if we document this behavior in our docs.
com.couchbase.client.core.error.AmbiguousTimeoutException: InsertRequest, Reason: TIMEOUT {"cancelled":true,"completed":true,"coreId":"0x4d79ccd200000008","idempotent":false,"lastChannelId":"4D79CCD200000008/00000000BFD1A884","lastDispatchedFrom":"10.112.191.1:59521","lastDispatchedTo":"10.112.191.101:11210","reason":"TIMEOUT","requestId":97,"requestType":"InsertRequest","retried":19,"retryReasons":["COLLECTION_MAP_REFRESH_IN_PROGRESS","COLLECTION_NOT_FOUND"],"service":{"bucket":"ODn1qu5VVtQUX0mmU3g-20-482000","collection":"k__pqvAvZe-30-397000","documentId":"test_col_not_exists-0","opaque":"0x8f8","scope":"nakP8gCPeL-30-397000","type":"kv"},"timeoutMs":5000,"timings":{"encodingMicros":87,"totalMicros":5008571}}
|
|
com.couchbase.client.core.error.AmbiguousTimeoutException: InsertRequest, Reason: TIMEOUT {"cancelled":true,"completed":true,"coreId":"0x4d79ccd200000008","idempotent":false,"lastChannelId":"4D79CCD200000008/0000000010FBFC61","lastDispatchedFrom":"10.112.191.1:59514","lastDispatchedTo":"10.112.191.101:11210","reason":"TIMEOUT","requestId":170,"requestType":"InsertRequest","retried":19,"retryReasons":["COLLECTION_NOT_FOUND"],"service":{"bucket":"ODn1qu5VVtQUX0mmU3g-20-482000","collection":"k__pqvAvZe-30-397000","documentId":"test_col_not_exists-1","opaque":"0x941","scope":"nakP8gCPeL-30-397000","type":"kv"},"timeoutMs":5000,"timings":{"encodingMicros":47,"totalMicros":5004591}}
|
Attachments
Gerrit Reviews
For Gerrit Dashboard: JCBC-1773 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
151612,3 | Fixing collection_sdk tests | master | TAF | Status: MERGED | +2 | +1 |