[ 
https://issues.apache.org/jira/browse/COUCHDB-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011786#comment-13011786
 ] 

Jan Lehnardt commented on COUCHDB-951:
--------------------------------------

I updated the script with more tests.

It now tests storing binary files of size 4095, 4096, 4097 and 8191, 8192, 8193 
bytes.

The script and test binaries now live in a repo: 
https://github.com/janl/couchdb-1.0-1.1-upgrade-tester

To compare original and updated binaries, I use `openssl sha`, so this is now a 
runtime requirement.

Let me know if this a) adequately tests an upgrade and b) works for you.

> Test DB upgrade for 1.0.x to 1.1.0
> ----------------------------------
>
>                 Key: COUCHDB-951
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-951
>             Project: CouchDB
>          Issue Type: Test
>    Affects Versions: 1.1
>            Reporter: Robert Newson
>            Assignee: Robert Newson
>             Fix For: 1.1
>
>
> As the on-disk format has changed (for Range header support for attachments) 
> extensive testing of db upgrades should be performed.
> The Range upgrade occurs on compaction, so it should suffice to;
> 1) create a db with 1.0.x
> 2) upgrade to 1.1.0
> 3) compact
> 4) verify db
> I will be working on scripts to automate as much as possible.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to