> 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