couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-951) Test DB upgrade for 1.0.x to 1.1.0
Date Sat, 26 Mar 2011 22:18:05 GMT

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

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

I made a script that sets up two couches 1.0.x and 1.1.x in /tmp, creates a db and doc with
attachment in 1.0.x, copies it to the 1.1.x install, validates the attachment is still fine.

Tested on Mac OS X 10.6.7, should be cross (UNIX) platform though. This assumes all CouchDB
dependencies are set up and ready to go, you may need to adjust the respective ./configure
lines to your local setup.

Finally, this needs actual comprehensive tests, Robert said he had some ideas, feel free to
plug this in here, thanks for your help!

http://www.friendpaste.com/3cT1qPwc7LhCgNm63a9aSg

> 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

Mime
View raw message