Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3452

Collection is not encoded correctly with mixed-version cluster

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Major
    • no-version
    • None
    • library
    • None
    • 2
    • SDK34, SDK36

    Description

      Opening this per team discussion because .NET team thinks this problem that was first noticed in LCB will probably effect .NET as well, and requires investigation. Please upgrade from Task to Bug and update the description if confirmed.

      See linked CBSE-14831 and CCBC-1607 for additional details, but Sergey provided the following 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_FOUND9. libcouchbase silently retries expecting that this is just cold collection, that will be accessible in a moment10. 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

              jmorris Jeff Morris
              ray.cardillo Ray Cardillo
              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