anchor.diff:                           %       own range -> choose merkle_tree instead
                            comm:send_local(pid_groups:get_my(rrepair),
                                            {request_sync, merkle_tree, DKey}),
  -                         shutdown(resolve_ok, NewState)
  +                         shutdown(resolve_ok, NewState, undefined, [], [])
                    end;
  -        true  -> shutdown(resolve_abort, NewState)
  +        true  -> shutdown(resolve_abort, NewState, undefined, [], [])
       end;
   
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
positive.code:     KSet = gb_sets:from_list([element(1, Z) || Z <- KvvList]),
      MissingOnOther = [MX || X <- EntryList,
                              not gb_sets:is_element(element(1, (MX = entry_to_kvv(X))), KSet)],
      NewState = State#rr_resolve_state{stats = Stats#resolve_stats{diff_size = ToUpdate},
                                        feedbackKvv = MissingOnOther},
      if ToUpdate =:= 0 ->
             % need to send feedback (if set):
             send_key_upd(FBDest, MissingOnOther, Stats#resolve_stats.session_id, []),
             shutdown(resolve_ok, NewState);
         true ->
             % note: shutdown and feedback handled by update_key_entry_ack
             NewState
      end;
  
  on({get_entries_response, EntryList}, State =
  
negative.code:                  RKey <- ?RT:get_replica_keys(Key),
                   intervals:in(RKey, MyI)]).
  
  -spec shutdown(exit_reason(), state(), undefined | comm:mypid(), kvv_list(),
                 options()) -> kill.
  shutdown(_Reason, #rr_resolve_state{ownerPid = Owner, 
                                      send_stats = SendStats,
                                      stats = Stats},
           KUDest, KUItems, KUOptions) ->
      case KUDest of
          undefined -> ok;
          _ ->
              SID = Stats#resolve_stats.session_id,
              send_key_upd(KUDest, KUItems, SID, KUOptions)
      end,
      send_stats(SendStats, Stats),
      comm:send_local(Owner, {resolve_progress_report, self(), Stats}),
      kill.
  