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

Re: repository GUIDs

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-12-12 10:37:18 CET

Karl Fogel wrote:

>"Bill Tutt" <rassilon@lyra.org> writes:
>
>
>>Although if mbk decides to grace us with a new BDB table and new ra
>>vtable methods to achieve our goal of a GUID, far be it from us to
>>dissuade him down this wonderful route. :) A new table certainly saves
>>us even more mess in the property handling code.
>>
>>
>
>If we're having a new ra method anyway, then why do we also need a new
>table? Why not just a file in the repos top level after all?
>
>Bill, I get the feeling I'm unconsious of some basic assumption of
>yours here... :-)
>

The unique IDs will someday be used as part of the NodeRevision primary
key -- that's necessary to support distributed repositories. Instead of
using a GUID explicitly, Bill suggests we hava (repository-specific)
mapping between GUIDs and RepositoryIDs. The RepositoryID namespace
would obviously be more compact, and therefore kinder to database
indexing routines. I suggested that the repo's own GUID would by
definition map to a Repository ID of 0.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 12 10:38:08 2002

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.