[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] newbie question - SHA1 vs serials

From: Jon Bright
Subject: Re: [Monotone-devel] newbie question - SHA1 vs serials
Date: Tue, 19 Apr 2005 17:03:45 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)


K. Richard Pixley wrote:

To provide globally unique serials, one would need to include some representation of the location at which an event occurred. In this case, I'd suggest the domain name of the machine involved. So something like,, etc. If each repository used it's own name, (presumably it's domain name in most cases), and kept it's own list of serials, wouldn't this both provide a guaranteed unique id as well as providing that oh-so-sought-after monotonically increasing number people so love to see?

It's an idea that's been considered, but has a number of difficulties:

1. Not everyone's machine has a (valid) domain name. I have a number of domains, so I could pick one, but if I didn't, the only name I'd have would be or whichever name my ISP gives me today.

2. I could be operating two (or more) separate monotone DBs on the same machine. OK, we could make some special effort to try and get the two copies to know about each other's numbers.

3. I have machine - what to do about some unpleasant person who decides to incorrectly name their machine too? (There are a number of workarounds for this, each with advantages and disadvantages)

4. The number's not actually monotonically increasing when viewing the tree as a whole. Ignoring branches, I'd still get

...which kind-of seems to defeat the point.

Jon Bright
Silicon Circus Ltd.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]