anchor.diff:  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
   -define(TRACE(X,Y), ok).
  -%-define(TRACE(X,Y), io:format("~w: [~p] " ++ X ++ "~n", [?MODULE, self()] ++ Y)).
  +%-define(TRACE(X,Y), log:pal("~w: [ ~.0p ] " ++ X ++ "~n", [?MODULE, self()] ++ Y)).
  +-define(TRACE_SEND(Pid, Msg), ?TRACE("to ~.0p: ~.0p~n", [Pid, Msg])).
  +-define(TRACE1(Msg, State),
  +        ?TRACE("~n  Msg: ~.0p~n"
  +               "  State: method: ~.0p  stage: ~.0p  initiator: ~.0p~n"
  +               "         params: ~.0p~n",
  +               [Msg, State#rr_recon_state.method, State#rr_recon_state.stage,
  +                State#rr_recon_state.initiator,
  +                ?IIF(is_list(State#rr_recon_state.struct), State#rr_recon_state.struct, [])])).
   
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   % type definitions
  
positive.code:     CompLeft = rr_recon_stats:get(tree_compareLeft, FStats),
      NewState = State#rr_recon_state{stats = FStats, struct = RTree},
      if CompLeft =:= 0 ->
             comm:send(DestReconPid, {shutdown, sync_finished_remote}),
             shutdown(sync_finished, NewState);
         true -> NewState
      end.
  
negative.code:     ?TRACE("SHUTDOWN Session=~p Reason=~p", [rr_recon_stats:get(session_id, Stats), Reason]),
      Status = exit_reason_to_rc_status(Reason),
      NewStats = rr_recon_stats:set([{status, Status}], Stats),
      send_local(OwnerL, {recon_progress_report, self(), Initiator, NewStats}),
      kill.
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  