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

RE: 1.6.3: problems with svnadmin 'pack' and 'upgrade' on windows

From: Ray Navarette <ray.navarette_at_pb.com>
Date: Fri, 31 Jul 2009 09:24:14 -0400

All,

Bob's response had me thinking about this a little more because I was pretty sure that the repo would not be packed by default. So, I went back to the release notes to confirm that this is the case, packing must be called for explicitly. However, while digging a little deeper, I found my issue. The repo I was testing with had less than 1000 commits. I created a new repo and changed the shard directory size to something that would allow packing and again loaded into this new repo. Packing this time was successful.

Regarding the other part of this question, when doing 'svnadmin upgrade' should I expect that to complete without any notification to the console also? If this is the case, what would be the process for filing a feature request to have these commands give some helpful messages?

Thanks everyone for your help.
ray

Ray Navarette     Associate Software Engineer
Pitney Bowes Business Insight
One Global View |Troy, NY 12180
ray_navarette_at_mapinfo.com
www.mapinfo.com

-----Original Message-----
From: Bob Archer [mailto:Bob.Archer_at_amsi.com]
Sent: Friday, July 31, 2009 9:00 AM
To: Ray Navarette; Hyrum K. Wright; Olivier Sannier
Cc: users_at_subversion.tigris.org
Subject: RE: 1.6.3: problems with svnadmin 'pack' and 'upgrade' on windows

If you just loaded a dump into the repo then there is nothing to do, it is as compressed as it can be... IIRC.

BOb

> -----Original Message-----
> From: Ray Navarette [mailto:ray.navarette_at_pb.com]
> Sent: Friday, July 31, 2009 8:55 AM
> To: Hyrum K. Wright; Olivier Sannier
> Cc: users_at_subversion.tigris.org
> Subject: RE: 1.6.3: problems with svnadmin 'pack' and 'upgrade' on
> windows
>
> Thanks Hyrum and Olivier,
>
> Sorry, but I should have mentioned earlier that I actually tried a dump
> of the original repo and load into a freshly created (with 1.6) repo.
> This produced the same result, the command completed immediately and
> produced no output.
>
> Any other thoughts?
>
> Thanks again
> ray
>
> Ray Navarette     Associate Software Engineer
> Pitney Bowes Business Insight
> One Global View |Troy, NY 12180
> ray_navarette_at_mapinfo.com
> www.mapinfo.com
>
>
> -----Original Message-----
> From: Hyrum K. Wright [mailto:hyrum_wright_at_mail.utexas.edu]
> Sent: Thursday, July 30, 2009 5:01 PM
> To: Ray Navarette
> Cc: users_at_subversion.tigris.org
> Subject: Re: 1.6.3: problems with svnadmin 'pack' and 'upgrade' on
> windows
>
>
> On Jul 30, 2009, at 3:50 PM, Ray Navarette wrote:
>
> > Hi All,
> >
> > Hopefully, I'm doing something stupid and one of you can help me.
> > If that's not the case, then I have no idea what's going on.
> >
> > I've recently upgraded our server from 1.4 to 1.6. I'd like to
> > upgrade the repository to 1.6 also to take advantage of FSFS packing
> > and merge tracking. So, as a sanity check, I wanted to first test
> > out this upgrade. To do so, I did an 'svnadmin hotcopy' of the
> > repository. This completed with what seems to be success (I can
> > check out a working copy). I then attempt to upgrade with 'svnadmin
> > upgrade' on the repo. This completes almost immediately with no
> > text output to the console (is this expected?). It seems that the
> > format file gets changed, but I'm surprised its this quick. Similar
> > result with 'svnadmin pack', immediate completion and no output. I
> > also expect there to be many less rev files (1 if my understanding
> > is correct) after packing. There is still 1 file per revision.
>
> If you are upgrading from 1.4, the repository won't be sharded, which
> is a perquisite for FSFS packing. You'll need to shard the
> repository, either by copying it using svnsync or using the (not-quite-
> supported) fsfs-reshard.py script.
>
> Once you've got a sharded 1.6 repository, packing it should then
> consolidate all completed shards.
>
> -Hyrum
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessage
> Id=2377361
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2377383

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-31 15:25:36 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.