[RCBC-93] Ruby Client does not handle the timeout appropriately Created: 24/Oct/12 Updated: 15/Nov/12 |
|
| Status: | Open |
| Project: | Couchbase Ruby client library |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Security Level: | Public |
| Type: | Bug | Priority: | Major |
| Reporter: | Bala Keelapudi | Assignee: | Sergey Avseyev |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: | Ruby client 1.1.1 | ||
| Attachments: |
|
| 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. |