From bba6f4063ecc046bb217dafd53bef58e53857cb1 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Fri, 5 Jun 2009 15:11:45 +0000 Subject: checkpoint during abnormal terminate is not safe git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@782038 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_rep.erl | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/couchdb/couch_rep.erl b/src/couchdb/couch_rep.erl index 1fa03250..f5b560e9 100644 --- a/src/couchdb/couch_rep.erl +++ b/src/couchdb/couch_rep.erl @@ -322,8 +322,6 @@ terminate(Reason, State) -> [gen_server:reply(L, {error, Reason}) || L <- Listeners], - {ok, _, _} = do_checkpoint(Source, Target, Context, Seq, Stats), - ets:delete(Stats), close_db(Target), close_db(Source). -- cgit v1.2.3