anchor.diff:                                   _ -> <<"">>
                                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",
  
positive.code:                        | Suffix2]
                end,
  
      FlushEnabled = proplists:get_value(flush_enabled, BucketConfig, false),
      MaybeFlushController =
          case FlushEnabled of
  
negative.code:     end.
  
  parse_validate_replica_index(Params, ReplicasNum, true = _IsNew) ->
      case proplists:get_value("bucketType", Params) =:= "ephemeral" of
          true ->
              case proplists:is_defined("replicaIndex", Params) of
                  true ->
                      {error, replicaIndex, <<"replicaIndex not supported for ephemeral buckets">>};
                  false ->
                      ignore
              end;
          false ->
              parse_validate_replica_index(
                proplists:get_value("replicaIndex", Params,
                                    replicas_num_default(ReplicasNum)))
      end;
  parse_validate_replica_index(_Params, _ReplicasNum, false = _IsNew) ->
      ignore.
  
  