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

LCB_ERR_COLLECTION_NOT_FOUND even though collection is present with items

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 3.0.7
    • 3.0.1
    • library
    • None
    • 7.0.0-2083
    • 1

    Description

      Test is a single node test, using python sdk 3.0.0 to load items into 1000 collections. The sdk returns the following errors continuously:

      13:31:36 [2020-05-20 13:31:36,231: WARNING/Process-2:17] Function: do_update, error: <Key='4461a5-0965849ca9946705e500d89a10bc73fcb0b1', RC=0xC9[LCB_ERR_TIMEOUT (201)], Operational Error, Results=1, C Source=(src/multiresult.c,316), Context={'scope': 'scope-1', 'status_code': 136, 'opaque': 71516, 'bucket': 'bucket-1', 'context': '', 'endpoint': '172.23.133.13:11210\x00', 'ref': '', 'collection': 'collection-893', 'type': 'KVErrorContext', 'key': '4461a5-0965849ca9946705e500d89a10bc73fcb0b1', 'cas': 0}, Tracing Output={"4461a5-0965849ca9946705e500d89a10bc73fcb0b1": {"debug_info": {"FILE": "src/callbacks.c", "LINE": 747, "FUNC": "dur_chain2"}}}>, repeated 2 times
       
      13:31:36 [2020-05-20 13:31:36,752: WARNING/Process-2:22] Function: do_update, error: <Key='4461a5-213edaa08042d63764dc6a1c4ab6fc643c21', RC=0xD3[LCB_ERR_COLLECTION_NOT_FOUND (211)], Operational Error, Results=1, C Source=(src/multiresult.c,316), Context={'scope': 'scope-1', 'status_code': 4, 'opaque': 28325, 'bucket': 'bucket-1', 'context': '', 'endpoint': '', 'ref': '', 'collection': 'collection-893', 'type': 'KVErrorContext', 'key': '4461a5-213edaa08042d63764dc6a1c4ab6fc643c21', 'cas': 0}, Tracing Output={"4461a5-213edaa08042d63764dc6a1c4ab6fc643c21": {"debug_info": {"FILE": "src/callbacks.c", "LINE": 747, "FUNC": "dur_chain2"}}}>, repeated 2 times

      On the server we can see that collection-893 is present with item:

      [root@172-23-133-13 ~]# /opt/couchbase/bin/cbstats -u Administrator -p password -b bucket-1 localhost:11210 collections | grep collection-893 
      0x8:0x242:name:       collection-893 
      [root@172-23-133-13 ~]# /opt/couchbase/bin/cbstats -u Administrator -p password -b bucket-1 localhost:11210 collections | grep 0x8:0x242 
      0x8:0x242:items:      237294 
      0x8:0x242:mem_used:   118801829 
      0x8:0x242:name:       collection-893 
      0x8:0x242:ops_delete: 0 
      0x8:0x242:ops_get:    0 
      0x8:0x242:ops_store:  237294 
      0x8:0x242:scope_name: scope-1
      

      Furthermore, the errors sometimes report "endpoint" as missing.

      Jenkins run: http://perf.jenkins.couchbase.com/job/ares-dcp/810/

      Logs: https://cb-jira.s3.us-east-2.amazonaws.com/logs/qe/collectinfo-2020-05-20T205606-ns_1%40172.23.133.13.zip

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            korrigan.clark Korrigan Clark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty