anchor.diff:  %% primary/fallback
   -spec get_apl_ann_chbin(binary(), n_val(), chashbin(), [node()]) -> preflist2().
   get_apl_ann_chbin(DocIdx, N, CHBin, UpNodes) ->
  -    UpNodes1 = ordsets:from_list(UpNodes),
  +    UpNodes1 = UpNodes,
       Itr = chashbin:iterator(DocIdx, CHBin),
       {Primaries, Itr2} = chashbin:itr_pop(N, Itr),
       {Up, Pangs} = check_up(Primaries, UpNodes1, [], []),
  
positive.code: %% primary/fallback
  -spec get_apl_ann(binary(), n_val(), ring(), [node()]) -> preflist2().
  get_apl_ann(DocIdx, N, Ring, UpNodes) ->
      UpNodes1 = ordsets:from_list(UpNodes),
      Preflist = riak_core_ring:preflist(DocIdx, Ring),
  
      {Primaries, Fallbacks} = lists:split(N, Preflist),
  
negative.code: %% Same as get_apl, but returns only the primaries.
  -spec get_primary_apl(binary(), n_val(), ring(), [node()]) -> preflist2().
  get_primary_apl(DocIdx, N, Ring, UpNodes) ->
      UpNodes1 = UpNodes,
      Preflist = riak_core_ring:preflist(DocIdx, Ring),
      {Primaries, _} = lists:split(N, Preflist),
      {Up, _} = check_up(Primaries, UpNodes1, [], []),
  