You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/03/02 14:12:07 UTC

[GitHub] jiangphcn commented on a change in pull request #1186: [WIP] Clustered purge mixed cluster upgrade

jiangphcn commented on a change in pull request #1186: [WIP] Clustered purge mixed cluster upgrade
URL: https://github.com/apache/couchdb/pull/1186#discussion_r171856181
 
 

 ##########
 File path: src/couch/src/couch_bt_engine.erl
 ##########
 @@ -759,6 +777,45 @@ set_default_security_object(Fd, Header, Compression, Options) ->
     end.
 
 
+% This function is to rollback pf clustered purge.
+% It replaces purge_tree_state and upurge_tree_state with
+% with purged_docs disk pointer that stores only the last purge request
+downgrade_purge_info(Fd, Header) ->
+    {db_header, _, UpSeq, _, IdTreeState, SeqTreeState, LocalTreeState, PSeq,
 
 Review comment:
   Re-formatted usage of db_header no matter whether downgrade_purge_info/2 will be used in pre-Clustered Purge build or not.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services