couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <>
Subject Re: Proposal: Extending immutability
Date Mon, 12 Jan 2009 11:56:11 GMT
On Mon, Jan 12, 2009 at 05:15:39PM +1030, Antony Blakey wrote:
> --- Revised Proposal ---------
> Each document, whether canonical or derived, has a globally unique
> identity consisting of a UUID and the document ID.
> In the case of a canonical document, the UUID is the UUID of the
> database (or cluster), which is assigned when a database is created.
> In the case of a (derived) view map result, it is the UUID of the map
> function (not the design doc), which is assigned to each map function
> (i.e. view) in a design doc when the design doc is created or updated.
> Furthermore, there is a triple {UUID, document id, document rev} that
> globally identifies a document at a given point in time. The key
> characteristic being that a {UUID, id, rev} identifies an immutable
> value.

Why use UUID like this? Why not let the database (&c) name suffice?

Noah Slater,

View raw message