Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-11674

REST Api ignores unsupported request to update replicaIndex field instead of replying with error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • bug-backlog
    • 2.5.1, 3.0.1
    • ns_server
    • Security Level: Public
    • None
    • Triaged
    • No

    Description

      Attempting to set replicaIndex via the REST API has no effect, which should work according to the documentation:

      http://docs.couchbase.com/couchbase-manual-2.5/cb-rest-api/#modifying-bucket-parameters

      To reproduce:

      • Make the following curl call:

      curl -v -X POST -u Administrator:password -d replicaIndex=1 http://host:8091/pools/default/buckets/beer-sample

      200/OK

      • Note the setting does not take effect by making the following call:

      curl http://host:8091/pools/default/buckets/beer-sample

      {"name":"beer-sample","bucketType":"membase","authType":"sasl","saslPassword":"","proxyPort":0,"replicaIndex":false,"uri":"/pools/default/buckets/beer-sample...

      ASK: Determine why replicaIndex is not able to be set

      Attachments

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

        Activity

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            jdillon Jeff Dillon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty