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

Re: SVN 1.6 Question: 'svnadmin pack' workflow

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 26 Mar 2009 10:30:43 +0200 (Jerusalem Standard Time)

Hyrum K. Wright wrote on Wed, 25 Mar 2009 at 21:31 -0500:
> On Mar 25, 2009, at 6:45 PM, Daniel Becroft wrote:
>
> > Hey all,
> >
> > I just have a question regarding the new shard packing functionality
> > for 1.6 repositories. It's not clear from the release notes what the
> > intended workflow process is for packing a repository.
> >
> > Once a repository has been 'packed', is the packing of any
> > subsequent shard directories automatic, or is 'svnadmin pack'
> > required to be run on a regular basis to pack these files?
> > If the packing is automatic, then I'm assuming this will be
> > automatically turned on for new 1.6 repositories?
> >
> > We are currently running a 1.5 repository with approx. 5500
> > revisions. I'm intenting to upgrade this to 1.6 via a dump/load
> > process.
>
> It is not automatic. Since packing requires an unknown amount of
> time, the administrator needs to manually pack the repository.
> Alternately, the admin could install a cron job to do the packing.
> (Packing an already packed repo is effectively a no-op.)
>

Also, commits are disabled during packing (since 'svnadmin pack' grabs
the write lock).

Now, *should* commits be blocked on packings? I'm not sure, actually.
IIRC the lock was added to prevent two concurrent 'pack's from stepping
on each other's toes; but would anything break if a packing and a commit
were being done concurrently?

> -Hyrum
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1423362
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-26 15:47:11 CET

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.