anchor.diff:           operation      = nil        									:: nil | operation(),
            stats          = #resolve_stats{}                              :: stats(),
            feedback       = {nil, []}                                     :: feedback(),           
  -         send_stats     = nil                                           :: nil | comm:mypid() 
  +         send_stats     = nil                                           :: nil | comm:mypid()
            }).
   -type state() :: #rr_resolve_state{}.
   
  
positive.code: on({get_state_response, MyI}, State =
         #rr_resolve_state{ operation = {key_upd_send, _, KeyList},
                            dhtNodePid = DhtPid }) ->    
      FilterKeyList = [K || X <- KeyList, 
                            K <- ?RT:get_replica_keys(X), 
                            intervals:in(K, MyI)],
      UpdI = intervals:from_elements(FilterKeyList),
      comm:send_local(DhtPid, {get_entries, self(), 
                               fun(X) -> intervals:in(db_entry:get_key(X), UpdI) end,
                               fun(X) -> {db_entry:get_key(X),
                                          db_entry:get_value(X), 
                                          db_entry:get_version(X)} end}),
      State;
  
  on({get_entries_response, KVVList}, State =
  
negative.code:                          fun(I) ->
                                   {lists:nth(I, FieldNames), erlang:element(I + 1, Stats)}
                           end),    
      [erlang:element(1, Stats), lists:flatten(Res)].
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  % STARTUP
  