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

Can't get Conflict Resolution Type of existing bucket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • .future
    • 2.3.3
    • None
    • None
    • 1

    Description

      The BucketManager.GetBucket(name) function returns the BucketSettings of the bucket, however the ConflictResolutionType is only part of the CreateBucketSettings type (a superset of BucketSettings).

      This means you can not tell the ConflictResolution type of an existing bucket. The other SDKs (Java, .NET), include the ConflictResolution in the regular BucketSettings, so a user is able to access these settings when retrieving a bucket's settings.

      I think there should be a way to get this setting in Gocb also, though Gocb does seem to follow the RFC and the others don't in this regard. So this could be an bug/improvement for Gocb + the RFC.

      Attachments

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

        Activity

          People

            charles.dixon Charles Dixon
            will.broadbelt Will Broadbelt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty