[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1144028 - /subversion/branches/revprop-packing/subversion/libsvn_fs_fs/fs_fs.c

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Thu, 7 Jul 2011 23:59:56 +0300

C. Michael Pilato wrote on Thu, Jul 07, 2011 at 16:54:46 -0400:
> On 07/07/2011 04:50 PM, Daniel Shahaf wrote:
> > Hmm. For wc we have upgrade tests using tarred old working copies.
> > Perhaps we should do the same for svnadmin/fsfs?
> >
> > % grep upgrade svnadmin_tests.py | wc -l
> > 0
>
> We haven't tested upgrades of filesystems in the past because we thus far
> haven't allowed 'svnadmin upgrade' to do anything substantial. Typically,
> it just plops a new integer into the 'format' file. There was some minor

We don't test 'svnadmin pack' either.

> file reorg in the FSFS side a while ago, but again, nothing really major.
> And that's intentional: we want upgrade to be a constant-time operation,

Then why does 'svnadmin upgrade' say

% $svnadmin upgrade r3
Repository lock acquired.
Please wait; upgrading the repository may take some time...

?

> leaving more costly upgrades to the likes of a parallel dump/load.
>
> --
> C. Michael Pilato <cmpilato_at_collab.net>
> CollabNet <> www.collab.net <> Distributed Development On Demand
>
Received on 2011-07-07 23:00:51 CEST

This is an archived mail posted to the Subversion Dev mailing list.