[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
Re: [Gnu-arch-users] [BUG] can get duplicate explicit IDs if adding fast enough
Tue, 18 May 2004 15:04:04 -0500
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.