anchor.diff:      end.
   
   %% @private
  -update_ring(CNode, CState) ->
  +update_ring(CNode, CState, Log) ->
       Next0 = riak_core_ring:pending_changes(CState),
   
       ?ROUT("Members: ~p~n", [riak_core_ring:members(CState, [joining, valid,
  
positive.code:     CState2 = riak_core_ring:set_pending_changes(CState, Next2),
  
      %% Transfer ownership after completed handoff
      {RingChanged1, CState3} = transfer_ownership(CState2),
      ?ROUT("Updating ring :: next1 : ~p~n",
            [riak_core_ring:pending_changes(CState3)]),
  
      %% Ressign leaving/inactive indices
      {RingChanged2, CState4} = reassign_indices(CState3),
      ?ROUT("Updating ring :: next2 : ~p~n",
            [riak_core_ring:pending_changes(CState4)]),
  
      %% Rebalance the ring as necessary
      Next3 = rebalance_ring(CNode, CState4),
      lager:debug("Pending ownership transfers: ~b~n",
                  [length(riak_core_ring:pending_changes(CState4))]),
      
      %% Remove transfers to/from down nodes
      Next4 = handle_down_nodes(CState4, Next3),
  
negative.code: %% -------------------------------------------------------------------
  
  -module(riak_core_claimant).
  -export([ring_changed/2, do_claimant_quiet/2]).
  
  -define(ROUT(S,A),ok).
  %%-define(ROUT(S,A),?debugFmt(S,A)).
  