couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <>
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


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!

> Test DB upgrade for 1.0.x to 1.1.0
> ----------------------------------
>                 Key: COUCHDB-951
>                 URL:
>             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:

View raw message