jiangphcn opened a new pull request #1886: Fix partitioned query database 
header version
URL: https://github.com/apache/couchdb/pull/1886
 
 
   <!-- 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. -->
   
   Allow to upgrade database from version 7 to version 8 which supports the 
partitioned query. To do so, the database can be downgraded from version 8 to 
version 7 once there is need to downgrade.
   
   Also support to upgrade database from version 6 to version 8 if database is 
not accessed for long time to skip version 7. 
   
   ## Testing recommendations
   
   <!-- Describe how we can test your changes.
        Does it provides any behaviour that the end users
        could notice? -->
    make check skip_deps+=couch_epi apps=couch tests=upgrade_test_
   ```
   ======================== EUnit ========================
   Upgrade tests
   Application crypto was left running!
     couchdb_views_tests:189: should_upgrade_legacy_view_files...[2.895 s] ok
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
     [done in 2.903 s]
   Couch Bt Engine Upgrade tests
     couch_bt_engine_upgrade_tests:66: t_upgrade_without_purge_req...[0.130 s] 
ok
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
     couch_bt_engine_upgrade_tests:66: t_upgrade_without_purge_req...[0.132 s] 
ok
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
     couch_bt_engine_upgrade_tests:106: t_upgrade_with_1_purge_req...[0.151 s] 
ok
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
     couch_bt_engine_upgrade_tests:106: t_upgrade_with_1_purge_req...[0.136 s] 
ok
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
     couch_bt_engine_upgrade_tests:147: t_upgrade_with_N_purge_req...[0.147 s] 
ok
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
     couch_bt_engine_upgrade_tests:147: t_upgrade_with_N_purge_req...[0.138 s] 
ok
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
     couch_bt_engine_upgrade_tests:186: 
t_upgrade_with_1_purge_req_for_2_docs...[0.143 s] ok
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
     couch_bt_engine_upgrade_tests:186: 
t_upgrade_with_1_purge_req_for_2_docs...[0.129 s] ok
   [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
     [done in 3.737 s]
   =======================================================
     All 9 tests passed.
   ==> rel (eunit)
   ==> db (eunit)
   ```
   
   ## Related Issues or Pull Requests
   
   <!-- If your changes affects multiple components in different
        repositories please put links to those issues or pull requests here.  
-->
   https://github.com/apache/couchdb/pull/1789
   
   ## Checklist
   
   - [X] Code is written and works correctly;
   - [X] Changes are covered by tests;
   - [ ] 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