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

invalid memory access error in mixed cluster

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.3.9
    • 3.3.8
    • library
    • None
    • 2
    • SDK34

    Description

      In mixed cluster, when one of the nodes supports collections, it is possible that the library would interpret standalone buffer that stores header with key and updated collection id.

      reproduction steps

      1. setup two node cluster with version 6.6-stable
      2. run another node with version 7.1-stable
      3. join 7.1-stable with the rest
      4. find a key that assigned to one of the vbuckets on 7.1-stable (cbc-keygen generates list of keys distributed across vbuckets, cbc-hash displays node where the given key is stored)
      5. bootstrap libcouchbase using address of the 7.1-stable
      6. execute kv operation using the key found previously

      observed behavior

      the application terminated because of illegal memory access

      expected behavior

      the application completes without any errors

      Attachments

        Issue Links

          For Gerrit Dashboard: CCBC-1610
          # Subject Branch Project Status CR V

          Activity

            People

              avsej Sergey Avseyev
              avsej Sergey Avseyev
              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