anchor.diff:      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()]) ->
  
positive.code:     {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 check_up(Pairs, UpNodes) of
                  true ->
                      Msg = {repair, ModPartition, Pairs, FilterModFun},
  
negative.code:                 {false, Down} ->
                      {down, Down}
              end;
          _ ->
              ownership_change_in_progress
      end.
  
  