Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Security Level: Public
-
Labels:None
-
Environment:Ruby client 1.1.1
Description
This is the problem that the customer is encountering
(Ruby code coming up):
Timeout::timeout(2) do
couch_client.get(key)
end
But we are seeing Couchbase::Error::Timeout exceptions being raised. I know the default timeout for the Couchbase client gem is greater than 2 seconds, so I'm wondering: what could cause Couchbase to return a timeout (0x16 error code) before it actually has time to timeout?
The complete ruby source code is attached , Please take a look at it.
------
support's analysis:
The client is not timing out fast enough it should time out in 2.5 sec or something but instead it's waiting a long time.
(Ruby code coming up):
Timeout::timeout(2) do
couch_client.get(key)
end
But we are seeing Couchbase::Error::Timeout exceptions being raised. I know the default timeout for the Couchbase client gem is greater than 2 seconds, so I'm wondering: what could cause Couchbase to return a timeout (0x16 error code) before it actually has time to timeout?
The complete ruby source code is attached , Please take a look at it.
------
support's analysis:
The client is not timing out fast enough it should time out in 2.5 sec or something but instead it's waiting a long time.
Activity
Bala Keelapudi
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Hari Subramaniam [ hari ] | Sergey Avseyev [ avsej ] |
Bala Keelapudi
made changes -
| Environment | Ruby client 1.1.1 |
Sergey Avseyev
made changes -
| Project | Couchbase Support/Engineering Tasks [ 10061 ] | Couchbase Ruby client library [ 10048 ] |
| Key | CBSE-251 | RCBC-93 |
| Security | Public [ 10011 ] |