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

Re: What happens if the repos is accessed during upgrade?

From: <kmradke_at_rockwellcollins.com>
Date: Tue, 27 May 2008 14:38:14 -0500

"Mark Phippard" <markphip_at_gmail.com> wrote on 05/27/2008 02:23:58 PM:
> On Tue, May 27, 2008 at 3:18 PM, <kmradke_at_rockwellcollins.com> wrote:
>
> >> One way to potentially do an upgrade is to use svnsync. You can
> >> create a new 1.5 repository and use the 1.5 version of svnsync to
> >> populate it while the current repository stays live. When the
process
> >> ends, you can just swap the repositories when you have a convenient
> >> window.
> >
> > Will this preserve any file locks from the old repository? I know
> > that a dump/load process doesn't. Is it feasible that a
> > script could help propagate locks?
>
> AFAIK, locks do not get synched via svnsync. I cannot answer the
> script question. I wonder of the locks folder (is that were they are
> stored in fsfs?) could just be moved/replaced in the svnsynced version
> when the process was concluded? The internal ID's change with 1.5, so
> if locks use those, then probably not.

I wasn't daring enough to try just copying and pasting the locks folder,
but it had crossed my mind.

> I'd say you'd probably just want to use svnadmin upgrade and build the
> node-index-origins index. The size/performance penalty of doing it
> this way is fairly small.

Does this get sharding as well? I'd really like to split up some
db/revs directories of our larger repos that have 100k+ revisions.

Kevin R.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-27 21:38:43 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.