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

default collection is not encoded in case of mixed-version cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.3.8
    • None
    • None
    • None
    • 0
    • SDK30

    Description

      See linked CBSE-14831 for additional details, but here are the reproduction steps:

      1. setup two node cluster with KV service with 6.6 version
      2. add one 7.1 node
      3. rebalance
      4. bootstrap libcouchbase using 7.1 node
      5. libcouchbase will get socket configured for collections, because kv engine from 7.1 node will ack collection support
      6. libcouchbase then receive configuration, and sees that the config does not have "collections" capability and disables collections support for whole lcb_INSTANCE
      7. send GET command, and libcouchbase will not add zero prefix for default collection
      8. kv engine tries to interpret first byte of the key as a collection index, and returns COLLECTION_NOT_FOUND
      9. libcouchbase silently retries expecting that this is just cold collection, that will be accessible in a moment
      10. application gets timeout error

      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
              avsej Sergey Avseyev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty