[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-03-28 20:02:26 CEST

"Max Bowsher" <maxb@ukf.net> writes:

> Do new repositories start out at format 3 or 4?

My vote is for "4".

> 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).

---------------------------------------------------------------------
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:06:37 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.