Ephemeral: Can't Create ephemeral buckets with the SDK

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 “

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

CB robot November 11, 2020 at 11:41 AM

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

CB robot September 15, 2020 at 11:02 AM

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

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 30, 2020 at 9:45 AM
Updated November 11, 2020 at 11:41 AM
Resolved July 7, 2020 at 5:15 PM
Instabug