anchor.diff:                                       NewConfig),
               MergedConfig1 = cleanup_bucket_props(MergedConfig0),
               BucketUUID = couch_uuids:random(),
  -            MergedConfig = [{uuid, BucketUUID} | MergedConfig1],
  +            MergedConfig = [{repl_type, get_default_repl_type()} |
  +                            [{uuid, BucketUUID} | MergedConfig1]],
               ns_config:update_sub_key(
                 buckets, configs,
                 fun (List) ->
  
positive.code:         none -> lists:keydelete(sasl_password, 1, Props)
      end.
  
  create_bucket(BucketType, BucketName, NewConfig) ->
      case validate_bucket_config(BucketName, NewConfig) of
          ok ->
  
negative.code: bucket_nodes(Bucket) ->
      proplists:get_value(servers, Bucket).
  
  -spec replication_type([{_,_}]) -> bucket_replication_type().
  replication_type(Bucket) ->
      proplists:get_value(repl_type, Bucket, tap).
  
  json_map_from_config(LocalAddr, BucketConfig) ->
      Config = ns_config:get(),
  