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

Async Mode results in "network error" when many lcb_get() calls are made without use of lcb_wait() within loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.0beta3
    • 2.0.0beta2
    • library
    • Security Level: Public
    • None
    • CentOS 6.2, 64Bit

    Description

      Am receiving "network error" back from error callback when using lcb_get() within a loop, within a function, in libev async mode
      (regardless if I make 1 call with a long command list or many calls of 1 command each) after returning control to the
      event loop (ie; return back from this function).

      If I add an occasional lcb_wait() during some interval of calls before returning back, then this does not happen but, of course, I am blocked
      during this call so that is not really a solution.

      Appears to be event overflow related but not sure. We are not talking about millions of calls, maybe 100k-ish over the network,
      not loopback.

      Attachments

        For Gerrit Dashboard: CCBC-115
        # Subject Branch Project Status CR V

        Activity

          People

            avsej Sergey Avseyev
            mleib Michael Leib
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty