anchor.diff:  
   %% for test
   basic_bucket_params_screening(IsNew, Name, Params, AllBuckets) ->
  -    Ctx = init_bucket_validation_context(IsNew, Name, AllBuckets, undefined, false, false),
  +    Ctx = init_bucket_validation_context(IsNew, Name, AllBuckets, undefined,
  +                                         false, false, ?VERSION_46),
       basic_bucket_params_screening(Ctx, Params).
   
   -ifdef(EUNIT).
  
positive.code:           bucket_name,
            bucket_config,
            all_buckets,
            cluster_storage_totals}).
  
  init_bucket_validation_context(IsNew, BucketName, Req) ->
      ValidateOnly = (proplists:get_value("just_validate", Req:parse_qs()) =:= "1"),
  
negative.code: init_bucket_validation_context(IsNew, BucketName, ValidateOnly, IgnoreWarnings) ->
      init_bucket_validation_context(IsNew, BucketName,
                                     ns_bucket:get_buckets(), extended_cluster_storage_info(),
                                     ValidateOnly, IgnoreWarnings, cluster_compat_mode:get_compat_version()).
  
  init_bucket_validation_context(IsNew, BucketName, AllBuckets, ClusterStorageTotals,
                                 ValidateOnly, IgnoreWarnings, ClusterVersion) ->
      {BucketConfig, ExtendedTotals} =
          case lists:keyfind(BucketName, 1, AllBuckets) of
              false -> {false, ClusterStorageTotals};
  