anchor.diff:  
   % Owner-end in synchronization -- just update the tree
   resync(This, owner) ->
  -        register(resync, self()),
           error_logger:info_report({"resync owner"}),
           #domain{dbname = DBName, db = DB, owner = true, stats = Stats} = 
                   gen_server:call(This, get_current_state),
  
positive.code:         open_or_clone(R, ODomain, D);
  
  % normal case
  handle_cast({repl_put, EntryID, Entry, {_, _, OPid} = Owner, ODomain, N},
          #domain{db = DB, id = DomainID, prevnode = Prev} = D) ->
  
          error_logger:info_report({"repl put", EntryID}),
  
negative.code: 
  % Replica-end in synchronization -- the active party
  resync(This, replica) ->
          error_logger:info_report({"resync replica"}),
          #domain{dbname = DBName, db = DB, id = DomainID, owner = false,
                  stats = Stats, host = Host, home = Home} 
  