anchor.diff:                                                      NewMD),
                                       <<42:32/big>>))}.
   
  +calc_bkey_to_prefidxes(Bucket, Key, RingSize, N) when is_integer(RingSize) ->
  +    calc_bkey_to_prefidxes(Bucket, Key, riak_core_ring:fresh(RingSize, nonode),
  +                           N);
  +calc_bkey_to_prefidxes(Bucket, Key, Ring, N) ->
  +    DocIdx = riak_core_util:chash_std_keyfun({Bucket, Key}),
  +    Preflist = lists:sublist(riak_core_ring:preflist(DocIdx, Ring), N),
  +    [I || {I, _} <- Preflist].
  
positive.code:     os:cmd("mkdir -p " ++ DataDir),
      RingSize = basho_bench_config:get(shortcut_ring_creation_size),
      N = basho_bench_config:get(shortcut_n_val),
      Ring = Ring = riak_core_ring:fresh(RingSize, nonode),
      Bucket = basho_bench_config:get(shortcut_bucket),
      StoreObj = basho_bench_config:get(shortcut_store_riak_object, false),
      Idxes = [Idx || {Idx, _} <- riak_core_ring:all_owners(Ring)],
  
negative.code:         do_put(Key, Value, S)
      catch
          throw:{stop, empty_keygen} ->
              ?DEBUG("Empty keygen\n", []),
              NewS = rotate_idx(S),
              do_put(filter_key_gen(KeyGen, NewS), ValueGen(), NewS)
     end.
  