summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_rep.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2009-06-05 15:11:45 +0000
committerAdam Kocoloski <kocolosk@apache.org>2009-06-05 15:11:45 +0000
commitbba6f4063ecc046bb217dafd53bef58e53857cb1 (patch)
treed3bda75348120da94d40a31ef7798a65e3efbbc9 /src/couchdb/couch_rep.erl
parent9e500dad920f9dc7348208a55367037a6af3a8b5 (diff)
checkpoint during abnormal terminate is not safe
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@782038 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_rep.erl')
-rw-r--r--src/couchdb/couch_rep.erl2
1 files changed, 0 insertions, 2 deletions
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).