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

Intermittent NO_BUCKET error when I first use a new instance.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.0.2, 3.0.3
    • tools
    • None
    • 1

    Description

      I see this only when I'm running my tests on Jenkins. Many tests first do an upsert, and that fails, with a LCB_ERR_KVENGINE_UNKNOWN_ERROR. When you look at the logs, you see this:

      5376ms [Ibb8aa45d2343dfbc] {113671} [DEBUG] (lcbio_mgr - L:472) <172.23.111.136:11210> (HE=0xf262f0) Found ready connection in pool. Reusing socket and not creating new connection
      5376ms [Ibb8aa45d2343dfbc] {113671} [DEBUG] (lcbio_mgr - L:309) <172.23.111.136:11210> (HE=0xf262f0) Assigning R=0xf5c3c0 SOCKET=0xf5c920
      5376ms [Ibb8aa45d2343dfbc] {113671} [DEBUG] (ioctx - L:95) <172.23.111.136:11210> (CTX=0xf5cca0,unknown) Pairing with SOCK=64d550d5296541655377ms [Ibb8aa45d2343dfbc] {113671} [WARN] (server - L:382) <172.23.111.136:11210> (CTX=0xf5cca0,memcached,SRV=0xf5bf20,IX=2) Received server error NO_BUCKET (0x8) on packet: OP=0xbb, RC=0x8, SEQ=2
      5377ms [Ibb8aa45d2343dfbc] {113671} [ERROR] (handler - L:107) Got unhandled memcached error 0x8
      5377ms [Ibb8aa45d2343dfbc] {113671} [DEBUG] (collcache - L:90) failed to resolve collection, rc: LCB_ERR_KVENGINE_UNKNOWN_ERROR (1040)
      

      This is intermittent - some tests fail one time, pass the next. But, in about a dozen tests that do this (create new instance, upsert or get right afterwards), I see it on every test run somewhere. Happens on 3.0.3 and 3.0.2, IDK about other versions...

      Attachments

        Issue Links

          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:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty