anchor.diff:      stop_db_compaction_notifier(State#rep_state.target_db_compaction_notifier),
       couch_replicator_api_wrap:db_close(State#rep_state.source),
       couch_replicator_api_wrap:db_close(State#rep_state.target).
  +
  +
  +format_status(_Opt, [_PDict, State]) ->
  +    [{data, [{"State", state_strip_creds(State)}]}].
   
   
   do_last_checkpoint(#rep_state{seqs_in_progress = [],
  
positive.code: % gen_server callbacks
  -export([init/1, terminate/2, code_change/3]).
  -export([handle_call/3, handle_cast/2, handle_info/2]).
  
  -export([details/1]).
  
  
negative.code: terminate(shutdown, {error, Class, Error, Stack, InitArgs}) ->
      #rep{id=RepId} = InitArgs,
      couch_stats:increment_counter([couch_replicator, failed_starts]),
      CleanInitArgs = rep_strip_creds(InitArgs),
      couch_log:error("~p:~p: Replication failed to start for args ~p: ~p",
               [Class, Error, CleanInitArgs, Stack]),
      case Error of
      {unauthorized, DbUri} ->
          NotifyError = {unauthorized, <<"unauthorized to access or create database ", DbUri/binary>>};
  