anchor.diff:  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   % Helper Functions
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  +
  +-spec wait_for_session_end() -> ok.
  +wait_for_session_end() ->
  +    util:wait_for(fun() -> 
  +                          receive 
  +                              {request_sync_complete, _} -> true
  +                          end
  +                  end).
   
   % @doc
   %    runs the bloom filter synchronization [Rounds]-times 
  
positive.code:     CM = count_dbsize(CKey),
      %server starts sync
      api_dht_raw:unreliable_lookup(IKey, {?send_to_group_member, rrepair, 
                                                {request_sync, Method, CKey}}),
      %waitForSyncRoundEnd(NodeKeys),
      waitForSyncRoundEnd([IKey, CKey]),
      %measure sync degree
      IMNew = count_dbsize(IKey),
      CMNew = count_dbsize(CKey),
  
negative.code:     ].
  
  repair_default() ->
      [%no_diff,        % ring is not out of sync e.g. no outdated or missing replicas
       %one_node,       % sync in ring with only one node
       %mpath
       %dest,           % run one sync with a specified dest node
       simple         % run one sync round
       %multi_round,    % run multiple sync rounds with sync probability 1
       %multi_round2    % run multiple sync rounds with sync probability 0.4     
  	].
  
  regen_special() ->
  