anchor.diff:                      ensure_rep_ddoc_exists(DbName);
                   updated when IsRepDb ->
                       Msg = {resume_scan, DbName},
  -                    ok = gen_server:call(Server, Msg, infinity);
  +                    ok = gen_server:cast(Server, Msg);
                   deleted when IsRepDb ->
                       clean_up_replications(DbName);
                   _ ->
  
positive.code:     ensure_rep_ddoc_exists(DbName),
      Pid = changes_feed_loop(DbName, Since),
      couch_log:debug("Scanning ~s from update_seq ~p", [DbName, Since]),
      {reply, ok, State#state{rep_start_pids = [Pid | State#state.rep_start_pids]}};
  
  handle_call({rep_db_checkpoint, DbName, EndSeq}, _From, State) ->
      true = ets:insert(?DB_TO_SEQ, {DbName, EndSeq}),
      {reply, ok, State};
  
  handle_call(rep_db_changed, _From, State) ->
      {stop, shutdown, ok, State};
  
  handle_call(Msg, From, State) ->
      couch_log:error("Replication manager received unexpected call ~p from ~p",
          [Msg, From]),
      {stop, {error, {unexpected_call, Msg}}, State}.
  
  handle_cast({set_max_retries, MaxRetries}, State) ->
      {noreply, State#state{max_retries = MaxRetries}};
  
negative.code: handle_call({rep_error, RepId, Error}, _From, State) ->
      {reply, ok, replication_error(State, RepId, Error)};
  
  handle_call({rep_db_checkpoint, DbName, EndSeq}, _From, State) ->
      true = ets:insert(?DB_TO_SEQ, {DbName, EndSeq}),
      {reply, ok, State};
  
  handle_call(rep_db_changed, _From, State) ->
      {stop, shutdown, ok, State};
  
  handle_call(Msg, From, State) ->
      couch_log:error("Replication manager received unexpected call ~p from ~p",
          [Msg, From]),
      {stop, {error, {unexpected_call, Msg}}, State}.
  
  handle_cast({resume_scan, DbName}, State) ->
      Since = case ets:lookup(?DB_TO_SEQ, DbName) of
          [] -> 0;
          [{DbName, EndSeq}] -> EndSeq
  