anchor.diff:      {doc_cleared, BatchNum} ->
         count_clear_acc(Count - 1, BatchNum)
     after timer:minutes(1) ->
  -    ?warning("Not cleared old cache for batch num ~p", [BatchNum]),
  +    ?warning("Not cleared old cache for batch num ~p, current count ~p", [BatchNum, Count]),
       ok
     end.
   
  
positive.code:                    ('$end_of_table', {Count, _}) ->
                       {abort, Count};
                     (#document{key = Uuid}, {Count, BatchNum0}) ->
                       BatchNum = case Count rem 100 of
                                    0 ->
                                      case Count of
                                        0 ->
                                          ok;
                                        _ ->
                                          count_clear_acc(Count, BatchNum0)
                                      end,
                                      BatchNum0 + 1;
                                    _ ->
  
negative.code: -export([flush_all/2, flush/3, flush/4, clear/3, clear/4]).
  -export([save_consistency_restored_info/3, begin_consistency_restoring/2, end_consistency_restoring/2,
    check_cache_consistency/2, consistency_info_lock/3, init_consistency_info/2]).
  
  -define(CLEAR_BATCH_SIZE, 100).
  
  %%%===================================================================
  %%% API
  