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

Re: svn commit: r11930 - in branches/locking/subversion: include libsvn_fs_base

From: <kfogel_at_collab.net>
Date: 2004-11-22 18:51:11 CET

Branko Čibej <brane@xbc.nu> writes:
> Hm. I wonder if we really do have to generate a UUID for each lock
> token. Does the DAV spec require a UUID, or just any globally unique
> string? It strikes me that we'll use up a fair amount of randomness
> when we could easily just take the repositury UUID and concatenate a
> sequence number. Just thinking out loud here...I wouldn't think
> generating UUIDs for locks would eat up all available random bits.

I was favoring your way too, because then one could look at a lock
token and know which repository it was associated with. Like if the
format were

   REPOS_UUID:LOCK_UID

where LOCK_UID is just a constantly incrementing number unique within
that repository..

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 22 18:54:02 2004

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.