You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Becroft <Da...@supercorp.com.au> on 2009/03/25 23:45:22 UTC

SVN 1.6 Question: 'svnadmin pack' workflow

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.
 
Cheers,
Daniel B.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: SVN 1.6 Question: 'svnadmin pack' workflow

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
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@subversion.tigris.org].
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: SVN 1.6 Question: 'svnadmin pack' workflow

Posted by "Hyrum K. Wright" <hy...@mail.utexas.edu>.
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.)

-Hyrum

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].