anchor.diff:                         | Suffix2]
                 end,
   
  +    Suffix4 = case ns_bucket:storage_mode(BucketConfig) of
  +                  couchstore ->
  +                      [{replicaIndex, proplists:get_value(replica_index, BucketConfig, true)} | Suffix3];
  +                  _ ->
  +                      Suffix3
  +              end,
  +
       FlushEnabled = proplists:get_value(flush_enabled, BucketConfig, false),
       MaybeFlushController =
           case FlushEnabled of
  
positive.code:                                  _ -> <<"">>
                               end},
                {proxyPort, proplists:get_value(moxi_port, BucketConfig, 0)},
                {replicaIndex, proplists:get_value(replica_index, BucketConfig, true)},
                {uri, BuildUUIDURI(["pools", "default", "buckets", Id])},
                {streamingUri, BuildUUIDURI(["pools", "default", "bucketsStreaming", Id])},
                {localRandomKeyUri, bin_concat_path(["pools", "default",
  
negative.code:                                 {nodeStatsListURI, NodeStatsListURI}]}},
                {ddocs, {struct, [{uri, DDocsURI}]}},
                {nodeLocator, ns_bucket:node_locator(BucketConfig)}
                | Suffix4]}.
  
  build_bucket_capabilities(BucketConfig) ->
      Caps =
  