jiangphcn opened a new pull request #1186: [WIP] Clustered purge mixed cluster 
upgrade
URL: https://github.com/apache/couchdb/pull/1186
 
 
   <!-- Thank you for your contribution!
   
        Please file this form by replacing the Markdown comments
        with your text. If a section needs no action - remove it.
   
        Also remember, that CouchDB uses the Review-Then-Commit (RTC) model
        of code collaboration. Positive feedback is represented +1 from 
committers
        and negative is a -1. The -1 also means veto, and needs to be addressed
        to proceed. Once there are no objections, the PR can be merged by a
        CouchDB committer.
   
        See: http://couchdb.apache.org/bylaws.html#decisions for more info. -->
   
   ## Overview
   
   <!-- Please give a short brief for the pull request,
        what problem it solves or how it makes things better. -->
   This is preparatory work for adding clustered purge which is based on 
pluggable storage engines. The motivation for this ground work is NOT to break 
internal replication between nodes. 
   
   For clustered purge during internal replication, additional step was added 
to synchronize purges. This work involves creating a stub function for 
synchronizing purges that returns an empty list of purges, as well as, creating 
duplicates of some other functions.
   
   In addition, we added logic to support downgrade of couch database to the 
previous format in case of the need of rollback of clustered purge.
   
   ## Testing recommendations
   
   <!-- Describe how we can test your changes.
        Does it provides any behaviour that the end users
        could notice? -->
   There's no behavior changes so the existing test suite covers the existing 
logic.
   
   ## JIRA issue number
   https://issues.apache.org/jira/browse/COUCHDB-3326
   
   ## Related Issues or Pull Requests
   
   <!-- If your changes affects multiple components in different
        repositories please put links to those issues or pull requests here.  
-->
   We are going to open another PR for COUCHDB-3326 which is the main Clustered 
Purge work that will be asking to merge into this PR. When we go to merge these 
we'll merge this PR first, and then merge 3326 into master.
   
   ## Checklist
   
   - [X] Code is written and works correctly;
   - [X] Changes are covered by tests;
   - [X] Documentation reflects the changes;
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to