This is an automated email from the ASF dual-hosted git repository. jiangphcn pushed a commit to branch COUCHDB-3326-clustered-purge-pr1-misc-cleanup in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 00d8379e0fb85260ee695b65d18075684e840fa1 Author: Paul J. Davis <[email protected]> AuthorDate: Thu Apr 26 11:36:49 2018 -0500 Fix bug during purge --- src/couch/src/couch_db_updater.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/couch/src/couch_db_updater.erl b/src/couch/src/couch_db_updater.erl index acb9ec1..40e836a 100644 --- a/src/couch/src/couch_db_updater.erl +++ b/src/couch/src/couch_db_updater.erl @@ -128,7 +128,7 @@ handle_call({purge_docs, IdRevs}, _From, Db) -> % If we purged every #leaf{} in the doc record % then we're removing it completely from the % database. - FDIAcc; + {FDIAcc, SeqAcc0}; _ -> % Its possible to purge the #leaf{} that contains % the update_seq where this doc sits in the update_seq
