[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] [BUG] can get duplicate explicit IDs if adding fast
From: |
Colin Walters |
Subject: |
Re: [Gnu-arch-users] [BUG] can get duplicate explicit IDs if adding fast enough |
Date: |
Tue, 18 May 2004 17:16:05 -0400 |
On Tue, 2004-05-18 at 16:04, Charles Duffy wrote:
> On Tue, 2004-05-18 at 14:34, Colin Walters wrote:
> > A better explicit ID algorithm is needed. Currently if you add files
> > fast enough, it's possible to get two files with the same ID, since the
> > current algorithm just uses the time, basically.
> >
> > Maybe we could switch to just original file path and SHA1 sum?
>
> My vote is for UUIDs. This is exactly the kind of thing they exist for.
Yeah, I think you're right.
signature.asc
Description: This is a digitally signed message part