db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <Richard.Hille...@Sun.COM>
Subject Re: change model for adding upgrade support?
Date Tue, 07 Apr 2009 13:58:51 GMT
Hi Bryan,

There used to be a wiki page devoted to upgrade testing, but I see that 
the link is broken here: http://wiki.apache.org/db-derby/DerbyTesting

I think what you have to do is this:

1) Create 
modelling it on Changes10_5

2) Add tests to that class. Each test is a switch statement and each 
case in the switch statement is an upgrade phase. The phases are 
documented in UpgradeChange

3) Wire Changes10_6 into 
org.apache.derbyTesting.functionTests.tests.upgradeTests._Suite and add 
10.5 to the OldVersions table

4) Put the 10.5 jar files into a directory parallel to the other 
directories of old releases so that they will be picked up by the 
upgrade machinery

Hope this helps,

Bryan Pendleton wrote:
> As part of my work on DERBY-2487, I need to put in place the
> basic infrastructure for upgrade from 10.5 to 10.6. At the
> current time, I just need to add a couple system procedures,
> but I assume that it would be good if we put all the basic
> machinery in place at once?
> Is there a nice svn revision that I can have a look at which
> outlines the changes I need to make? Or a wiki page? Or maybe
> could the person who made the changes for an earlier release
> outline the basic steps?
> thanks,
> bryan

View raw message