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

LCB needs to handle error 0x24 PROTOCOL_BINARY_RESPONSE_EACCESS

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.7.6
    • 2.6.1
    • None
    • None

    Description

      Using libcouchbase 2.6.1 + Python SDK 2.1.0
      Subdoc isn't implemented in Couchbase Server 4.1.0 but when issuing subdoc commands against a GA 4.1.0 cluster I get a client error that it wasn't able to parse the result from the server.
      It should understand the error from the server correctly.

      COUCHBASE: Unhandled memcached status=0x24
      Traceback (most recent call last):
        File "./foo.py", line 9, in <module>
          rv = cb.lookup_in('caldera_brewing', SD.get('geo.accuracy'))
        File "/Library/Python/2.7/site-packages/couchbase/bucket.py", line 775, in lookup_in
          return super(Bucket, self).lookup_in(

      {key: specs}

      , **kwargs)
      couchbase.exceptions.LCB_0x3D (generated, catch: ): <Key='caldera_brewing', RC=0x3D[The server replied with an unrecognized status code. A newer version of this library may be able to decode it], Operational Error, Results=1, C Source=(src/multiresult.c,309)>

      Mark said the memcached error 0x24 is PROTOCOL_BINARY_RESPONSE_EACCESS

      Attachments

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

        Activity

          People

            ingenthr Matt Ingenthron
            ianmccloy Ian McCloy (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