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

Library does not copy type of the connection for bootstrap

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.5
    • None
    • None

    Description

      It always treats connection as BUCKET, and requires "default" bucket to be created

      https://github.com/couchbase/libcouchbase/blob/5823dd7d24a51ad295acebf937ed68d835691563/src/bucketconfig/bc_http.cc#L254

       

      But the real problem is that in case of LCB_TYPE_CLUSTER it requests just /pools, and ignores response.

      Attachments

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

        Activity

          avsej Sergey Avseyev created issue -
          avsej Sergey Avseyev made changes -
          Field Original Value New Value
          Link This issue relates to CBSE-3659 [ CBSE-3659 ]
          avsej Sergey Avseyev made changes -
          Description It always treats connection as BUCKET, and requires "default" bucket to be created

          https://github.com/couchbase/libcouchbase/blob/5823dd7d24a51ad295acebf937ed68d835691563/src/bucketconfig/bc_http.cc#L254
          It always treats connection as BUCKET, and requires "default" bucket to be created

          [https://github.com/couchbase/libcouchbase/blob/5823dd7d24a51ad295acebf937ed68d835691563/src/bucketconfig/bc_http.cc#L254]

           

          But the real problem is that in case of LCB_TYPE_CLUSTER it requests just /pools, and ignores response.
          avsej Sergey Avseyev made changes -
          Status New [ 10003 ] Open [ 1 ]
          avsej Sergey Avseyev made changes -
          Fix Version/s 2.7.5 [ 14404 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

          People

            mnunberg Mark Nunberg (Inactive)
            avsej Sergey Avseyev
            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