anchor.diff:      {noreply, St}.
   
   
  +handle_info({'DOWN', Ref, _, _, Reason}, #st{watchdog={_,Ref}}=St) ->
  +    couch_log:notice("~s watchdog died: ~w", [?MODULE, Reason]),
  +    erlang:send_after(60000, self(), spawn_watchdog),
  +    {noreply, St#st{watchdog=undefined}};
   handle_info({'DOWN', Ref, process, Pid, _Reason}, St) ->
       case khash:get(St#st.by_pid, Pid) of
           {Ref, OldDbNames} ->
  
positive.code:     {ok, ByDbName} = khash:new(),
      {ok, #st{
          by_pid = ByPid,
          by_dbname = ByDbName
      }}.
  
  
  
negative.code:     code_change/3
  ]).
  
  -export([
      watchdog/0
  ]).
  
  
  -include("couch_event_int.hrl").
  
  
  -record(st, {
      by_pid,
      by_dbname,
      watchdog
  }).
  
  
  