Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-945

Ephemeral: Can't Create ephemeral buckets with the SDK

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.4
    • Component/s: library
    • Labels:
      None
    • Story Points:
      1

      Description

      A user who wishes to create an ephemeral bucket with the SDK is not being able to do so as the flag "indexReplica" for the views is always set. 

      https://github.com/couchbase/gocb/blob/master/cluster_bucketmgr.go#L537

      in this kind of bucket, this flag is unsupported.

      Although there is a bucket type called Ephemeral, it cannot be used to to missing configurations.

       

      error:

      “"error":"replicaindex not supported for ephemeral buckets “

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-7.0.0-3115 contains gocb commit 8a1e4c1 with commit message:
          GOCBC-945: Don't set replicaIndex for ephemeral bucket creation

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3115 contains gocb commit 8a1e4c1 with commit message: GOCBC-945 : Don't set replicaIndex for ephemeral bucket creation
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-3.0.0-52 contains gocb commit 8a1e4c1 with commit message:
          GOCBC-945: Don't set replicaIndex for ephemeral bucket creation

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocb commit 8a1e4c1 with commit message: GOCBC-945 : Don't set replicaIndex for ephemeral bucket creation

            People

            Assignee:
            charles.dixon Charles Dixon
            Reporter:
            roi.katz Roi Katz
            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