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

replicaIndex is true by default in buckets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • 7.1.2
    • 7.0.4, 7.1.1
    • ns_server
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      It looks like a change has occurred where now buckets are by default created with index replicas set to be equal to true.

      E.g. on the cheshire-cat branch (7.0.x). Create the bucket:

      $ curl -i -u Administrator:asdasd localhost:9000/pools/default/buckets -d name=b3 -d ramQuota=100 
      HTTP/1.1 202 Accepted
      

      Check the value of the replica_index property:

      $ curl -s -u Administrator:asdasd localhost:9000/diag/eval -d '{ok, C} = ns_bucket:get_bucket("b3"), proplists:get_value(replica_index, C)'
      true
      

      I don't believe this used to be the case. At least I don't see this behavior on 6.6. I think this is a pretty significant regression - we should look at this quickly.

      Attachments

        Issue Links

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

          Activity

            People

              dfinlay Dave Finlay
              dfinlay Dave Finlay
              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