Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: upgrade test failures

subversion
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

Re: upgrade test failures

Author brane
Full name Branko Cibej
Date 2009-04-19 10:23:47 PDT
Message Greg Stein wrote:
> What if you just toss loggy from the upgrade story (for the v12
> upgrade, if possible; leaving it there for now for v11 upgrades). Or
> if you can't, then keep this in mind for the future.
>
> How about:
>
> 1) Port entries and property data into wc.db
> 2) Remove 'entries'
> 3) Remove all property files
>
> If an interruption happens at any point, this is detectable by
> 'entries' *and* 'wc.db' present in the subdirectory. When that
> happens, remove wc.db and start again.
>
> Oh, hmm. We don't want to have to stat for 'entries' every time we
> look in a .svn subdir, let alone stat around looking for un-removed
> prop files. Alrighty. There needs to be something in the database that
> will give us an indication of "in-process on upgrading; if you're
> seeing this, then it was interrupted; go investigate". Something in
> the format number? Maybe a temporary table whose presence/absence acts
> as a boolean?
>

I'm gonna put my foot in it and suggest that you create the wc.db as
not.wc.db, transfer entries and stuff, close the DB and rename the
database file ... nice and atomic.

-- Brane

« Previous message in topic | 4 of 6 | Next message in topic »

Messages

Show all messages in topic

upgrade test failures gstein Greg Stein 2009-04-16 21:32:46 PDT
     Re: upgrade test failures "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-04-17 09:29:41 PDT
         Re: upgrade test failures gstein Greg Stein 2009-04-18 04:39:28 PDT
             Re: upgrade test failures brane Branko Cibej 2009-04-19 10:23:47 PDT
                 Re: upgrade test failures "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> "Hyrum K dot Wright" <hyrum_wright at mail dot utexas dot edu> 2009-04-20 07:21:35 PDT
                     Re: upgrade test failures brane Branko Cibej 2009-04-21 12:06:25 PDT
Messages per page: