anchor.diff:          TotalErrors =:= [] ->
               {ok, OKs, JSONSummaries};
           true ->
  -            {errors, TotalErrors, JSONSummaries}
  +            {errors, perform_warnings_validation(OKs, TotalErrors), JSONSummaries}
       end.
   
   basic_bucket_params_screening(IsNew, BucketName, Params, AllBuckets) ->
  
positive.code:                     %% if this happens then our validation raced, so repeat everything
                      handle_bucket_update_inner(BucketId, Req, Params, Limit-1)
              end;
          {true, {ok, _, JSONSummaries}} ->
              reply_json(Req, {struct, [{errors, {struct, []}},
                                        {summaries, {struct, JSONSummaries}}]}, 202)
      end.
  
  do_bucket_create(Name, ParsedProps) ->
  
negative.code:                 {errors, Errors} ->
                      reply_json(Req, {struct, Errors}, 400)
              end;
          {true, {ok, ParsedProps, JSONSummaries}} ->
              FinalErrors = perform_warnings_validation(ParsedProps, []),
              reply_json(Req, {struct, [{errors, {struct, FinalErrors}},
                                        {summaries, {struct, JSONSummaries}}]},
                         case FinalErrors of
                             [] -> 200;
                             _ -> 400
                         end)
      end.
  
  perform_warnings_validation(ParsedProps, Errors) ->
      Errors ++ case proplists:get_value(num_replicas, ParsedProps) of
          undefined ->
              [];
          X ->
              ActiveCount = length(ns_cluster_membership:active_nodes()),
              if
                  ActiveCount =< X ->
                      Msg = <<"Warning, you do not have enough servers to support this number of replicas. If you continue, a warning message will be displayed until you add enough servers to support this number of replicas.">>,
                      [{replicaNumber, Msg}];
                  true ->
                      []
              end
      end.
  
  handle_bucket_flush(PoolId, Id, Req) ->
  