anchor.diff:      {ok, Ring} = riak_core_ring_manager:get_my_ring(),
       Pairs = [_, {_, Owner}, _] = repair_pairs(Ring, Partition),
       UpNodes = riak_core_node_watcher:nodes(Service),
  -    case is_pending_ownership_changes(Ring) of
  -        false ->
  +    case riak_core_ring:pending_changes(Ring) of
  +        [] ->
               case check_up(Pairs, UpNodes) of
                   true ->
                       Msg = {repair, ModPartition, Pairs, FilterModFun},
  
positive.code:     end.
  
  %% @private
  -spec is_pending_ownership_changes(riak_core_ring:riak_core_ring()) ->
                                            boolean().
  is_pending_ownership_changes(Ring) ->
      case riak_core_ring:pending_changes(Ring) of
          [] -> false;
          _ -> true
      end.
  
  %% @private
  %%
  %% @doc Verify that all nodes are up involved in the repair.
  -spec check_up([{non_neg_integer(), node()}], [node()]) ->
  
negative.code:                 {false, Down} ->
                      {down, Down}
              end;
          _ ->
              ownership_change_in_progress
      end.
  
  