This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch COUCHDB-3326-clustered-purge-davisp-refactor-2
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 53356ba32ac6394e1e3d2d4e049e68a8eb77555e
Author: Paul J. Davis <paul.joseph.da...@gmail.com>
AuthorDate: Tue Apr 24 16:17:50 2018 -0500

    TMP - avoid couch_db:open_int/2 in PSE callbacks
---
 src/couch/src/couch_bt_engine_compactor.erl | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/couch/src/couch_bt_engine_compactor.erl 
b/src/couch/src/couch_bt_engine_compactor.erl
index 370cae2..697aed5 100644
--- a/src/couch/src/couch_bt_engine_compactor.erl
+++ b/src/couch/src/couch_bt_engine_compactor.erl
@@ -104,9 +104,10 @@ open_compaction_files(SrcHdr, DbFilePath, Options) ->
 
 
 copy_purge_info(DbName, OldSt, NewSt, Retry) ->
-    MinPurgeSeq = couch_util:with_db(DbName, fun(Db) ->
-        couch_db:get_minimum_purge_seq(Db)
-    end),
+    %MinPurgeSeq = couch_util:with_db(DbName, fun(Db) ->
+    %    couch_db:get_minimum_purge_seq(Db)
+    %end),
+    MinPurgeSeq = 0,
     OldPSTree = OldSt#st.purge_seq_tree,
     StartSeq = couch_bt_engine:get_purge_seq(NewSt) + 1,
     BufferSize = config:get_integer(

-- 
To stop receiving notification emails like this one, please contact
dav...@apache.org.

Reply via email to