Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1217

lcb_diag synchronously calls callback, so lcb_wait can block forever

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 3.0.6
    • None
    • library
    • 1

    Description

      That is, if you call lcb_wait(..., LCB_WAIT_NOCHECK).  But, that only happens on servers < 6.5.  If the cluster is 6.5 or 6.5 with dev preview on, the callback is still synchronous but the wait returns immediately.

       

      PYCBC-835 was where I noticed this, and my workaround is to just use LCB_WAIT_DEFAULT.  Perhaps when this is addressed, I can rethink that change?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            david.kelly David Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty