Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-376

Create and Update bucket sending unecessary fields to server

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 1.0.0-dp.9
    • None
    • None
    • None
    • 1
    • SDK36

    Description

      Upon creating a bucket the SDK sets all non-optional bool fields in BucketSettings to false by default and sends them, it should only be sending the necessary fields unless otherwise specified, i.e. the bucket name and ram quota. In particular, it seems to be setting the replicaIndexes to false by default, which if unspecified, the server sets to true.

      Likewise updateBucket, unless otherwise specified, the SDK will reset these values to the defaults it sets - e.g. setting the ramQuotaMB to 100.

      This change may require some additional work in the wrappers.

      Attachments

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

        Activity

          People

            matt.wozakowski Matt Wozakowski
            matt.wozakowski Matt Wozakowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes