On Mon, 20 Dec 2004, Brian W. Fitzpatrick wrote:
>
> This proposal sticks with the current mechanism of using the
> filesystem as a tree to store the locks themselves, and the
> lock-tokens (which merely contain a pointer to the lock) are all
> stored in one directory, keyed on their token/uuid.
>
Just for the record, we discussed the lock-tokens storage further on IRC
and agreed that we should use a one-level hierarchy, using the first few
bytes of the lock-token to spread these files in directories. This helps
filesystems with problems having many files in one directory. Using two
characters gives 256 directories in the worst case. That seems to be a
reasonable balane between many files in one directory and one directory
per lock token. We don't expect millions of locks, do we?
regards,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 22 00:36:21 2004