anchor.diff:  -export_type([stats/0]).
   -endif.
   
  --type option()   :: feedback_response |
  -                    {feedback_request, comm:mypid()} |
  +-type option()   :: {feedback_request, comm:mypid()} |
                       {send_stats, comm:mypid()} | %send stats to pid after completion
                       {session_id, rrepair:session_id()} |
                       {from_my_node, 0 | 1}.
  
positive.code:          regen_count      = 0      :: non_neg_integer(),
           update_count     = 0      :: non_neg_integer(),
           upd_fail_count   = 0      :: non_neg_integer(),
           regen_fail_count = 0      :: non_neg_integer(),
           feedback_response= false  :: boolean() %true if this is a feedback response
           }).
  -type stats() :: #resolve_stats{}.
  
  
negative.code: -include("scalaris.hrl").
  
  -export([init/1, on/2, start/0]).
  -export([get_stats_session_id/1, merge_stats/2]).
  -export([print_resolve_stats/1]).
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  