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

Re: locking a file renders repos unusable with older clients

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-03-28 20:32:18 CEST

C. Michael Pilato wrote:
> "Max Bowsher" <maxb@ukf.net> writes:
>
>> Do new repositories start out at format 3 or 4?
>
> My vote is for "4".

Ditto.

>> Why not do the table creation at "svnadmin upgrade" time?
>
> Yeah, I was originally against this (fearing a suggestion of
> 'svn_fs_go_make_the_locking_tables()'). But the more I think about
> this, the more I realize that we shouldn't be tying FS functionality
> to repos version numbers. A Subversion filesystem is a wholly
> independent on-disk structure that doesn't need a repository wrapper
> at all.
>
> So I think we need svn_repos_upgrade(), which calls another new
> svn_fs_upgrade(). svn_fs_upgrade() would bump the FS version number,
> and create the locking tables (and enable locking functionality by
> virtue of bumping the FS version number).

Sounds good to me.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 28 20:36:15 2005

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

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