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

default collection check returns false for a _default._default collection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.1.1
    • 3.1.0
    • None
    • None
    • 1

    Description

      Concerned code:

      https://github.com/couchbase/libcouchbase/blob/21284a28b333a0695ce1e221847d920d9b305422/src/instance.cc#L932

      Here, lcb returns true if the passed scope.collection is not equal to "_default".
      This incorrect return value is then used for returning a "LCB_ERR_SDK_FEATURE_UNAVAILABLE" for a default collection back to the caller (here eventing).

      Effect on eventing : This broke almost all of eventing's upgrade tests where a 7.0 eventing consumer (using 3.1.0 lcb) tries to run a KV operation against a 6.6.x memcached.

      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
              abhishek.jindal Abhishek Jindal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty