Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0.1
-
Fix Version/s: None
-
Component/s: None
-
Security Level: Public
-
Labels:None
Description
From http://www.couchbase.com/forums/comment/reply/1002656
> Usually problem happens after creating bucket (I use curl for it).
> After that I try to connect to created bucket... and call lcb_wait function.
> And it executes infinitly...
> I investigate it a little and found, what the problem occures when in Couchbase server bucket loaded some times (in log there is note something like "bucket Name loader (3 times)").
> And why lcb_wait works infinitly???
> I add debug output and found that select function (on which event loop is based) returns 0 (that means that timeout happend) and after that timer is deleted... and than next time select calls, timeout is 0... that means that wait event infinitly, but events doesn't occurs.
> What do you think about that problem?
> P.S. Then I create many buckets in parallel, this bug occurs very often
> Usually problem happens after creating bucket (I use curl for it).
> After that I try to connect to created bucket... and call lcb_wait function.
> And it executes infinitly...
> I investigate it a little and found, what the problem occures when in Couchbase server bucket loaded some times (in log there is note something like "bucket Name loader (3 times)").
> And why lcb_wait works infinitly???
> I add debug output and found that select function (on which event loop is based) returns 0 (that means that timeout happend) and after that timer is deleted... and than next time select calls, timeout is 0... that means that wait event infinitly, but events doesn't occurs.
> What do you think about that problem?
> P.S. Then I create many buckets in parallel, this bug occurs very often
Issue Links
- duplicates
-
CCBC-147
function lcb_wait works infinitly after trying to connect (by calling lcb_connect) to Couchbase server that is on Pending state
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
Sergey Avseyev
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Duplicate [ 3 ] |
Sergey Avseyev
made changes -
Sergey Avseyev
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |