anchor.diff:              dict:store(StatName, New, Opaque)
       end.
   
  +check_global_stat_increased(Stats, StatName, Opaque) ->
  +    New = fetch_bucket_stat(Stats, "@global", StatName),
  +    case dict:is_key(StatName, Opaque) of
  +        false ->
  +            dict:store(StatName, New, Opaque);
  +        true ->
  +            Old = dict:fetch(StatName, Opaque),
  +            case New > Old of
  +                false ->
  +                    ok;
  +                true ->
  +                    {_Sname, Host} = misc:node_name_host(node()),
  +                    global_alert(StatName, fmt_to_bin(errors(StatName), [Host]))
  +            end,
  +            dict:store(StatName, New, Opaque)
  +    end.
   
   %% @doc check that I can listen on the current host
   -spec can_listen(string()) -> boolean().
  
positive.code:     "metadata overhead warning";
  short_description(disk) ->
      "approaching full disk warning";
  short_description(Other) ->
      %% this case is needed for tests to work
      couch_util:to_list(Other).
  
negative.code: do_handle_check_alerts_info(#state{history=Hist, opaque=Opaque}) ->
      BucketNames = ordsets:intersection(lists:sort(ns_memcached:active_buckets()),
                                         lists:sort(ns_bucket:node_bucket_names(node()))),
      AllNames = ["@global" | BucketNames],
      RawPairs = [{Name, stats_reader:latest(minute, node(), Name, 1)} || Name <- AllNames],
      Stats = [{Name, OrdDict}
               || {Name, {ok, [#stat_entry{values = OrdDict}|_]}} <- RawPairs],
      check_alerts(Opaque, Hist, Stats).
  