anchor.diff:  init_bucket_validation_context(IsNew, BucketName, ValidateOnly, IgnoreWarnings) ->
       init_bucket_validation_context(IsNew, BucketName,
                                      ns_bucket:get_buckets(), extended_cluster_storage_info(),
  -                                   ValidateOnly, IgnoreWarnings).
  -
  -init_bucket_validation_context(IsNew, BucketName, AllBuckets, ClusterStorageTotals, ValidateOnly, IgnoreWarnings) ->
  +                                   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};
  
positive.code:        bucket_name = BucketName,
         all_buckets = AllBuckets,
         bucket_config = BucketConfig,
         cluster_storage_totals = ExtendedTotals
        }.
  
  handle_bucket_update(_PoolId, BucketId, Req) ->
  
negative.code: 
  %% for test
  basic_bucket_params_screening(IsNew, Name, Params, AllBuckets) ->
      Ctx = init_bucket_validation_context(IsNew, Name, AllBuckets, undefined,
                                           false, false, ?VERSION_46),
      basic_bucket_params_screening(Ctx, Params).
  
  -ifdef(EUNIT).
  