[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hypermail
Subject:    Re: [hypermail] hashed filenames patch commited to CVS
From:       "Peter C. McCluskey" <pcm () rahul ! net>
Date:       2002-10-01 17:28:43
[Download RAW message or body]

 jose.kahan@w3.org (Jose Kahan) writes:
>Hello Peter,
>
>Thanks for your feedback.
>
>On Mon, Sep 30, 2002 at 11:10:36AM -0700, Peter C. McCluskey wrote:
>> 
>>  I'm not very happy with using hope as a means of avoiding problems.
>> Is there a good reason for not detecting and fixing collisions?
>
>Well, not any good one I can think of! Not using a sequential
>naming system means that it's hard to fix collisions. If you do that,
>you go back to the sequential naming system.

 I guess I don't understand what's wrong with a sequential naming system.
It seems to me that all you really want to do is divorce the file names
from the chronological ordering of the messages. That doesn't seem to
require hashes or longer filenames. As long as we keep a mapping between
filenames and the numbers used for the mbox or chronological sequence, and
don't use the filename sequence for anything other than guaranteeing filename
uniqueness (i.e. if we insert a message into the middle of an mbox, we
would create a filename with a number higher than the highest filename),
then we seem to get what you want without making filenames uglier and
without having to worry about how often the hash creates collisions.
-- 
------------------------------------------------------------------------------
Peter McCluskey          | Free Jon Johansen!
http://www.rahul.net/pcm | 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic