Couchbase

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Couchbase.com Access more options
    • Why NoSQL?
    • Couchbase Server
    • Download
    • Learn
    • Careers
Couchbase C client library libcouchbase
  • Couchbase C client library libcouchbase
  • CCBC-167

lcb_wait() waits infinitely

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. CCBC-147 function lcb_wait works infinitly after trying to connect (by calling lcb_connect) to Couchbase server that is on Pending state

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Gerrit Reviews
Sergey Avseyev made changes - 10/Jan/13 2:46 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Duplicate [ 3 ]
Sergey Avseyev made changes - 10/Jan/13 2:46 PM
Link This issue duplicates CCBC-147 [ CCBC-147 ]
Sergey Avseyev made changes - 06/Feb/13 1:48 PM
Status Resolved [ 5 ] Closed [ 6 ]

People

  • Assignee:
    Sergey Avseyev
    Reporter:
    Sergey Avseyev
Vote (0)
Watch (0)

Dates

  • Created:
    10/Jan/13 2:02 PM
    Updated:
    06/Feb/13 1:48 PM
    Resolved:
    10/Jan/13 2:46 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.2.4#845-sha1:c9f4cc4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Couchbase. Try JIRA - bug tracking software for your team.