couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <>
Subject Re: associating UUIDs to DBs
Date Tue, 02 Feb 2010 19:39:08 GMT
On Tue, Feb 2, 2010 at 11:25 AM, Randall Leeds <> wrote:
> I'm not entirely happy with this patch and I'd like some help figuring
> out what to do about it.
> I foresee problems when database files are copied or backed up on
> disk. It's possible to end up with two couchdb instances hosting
> databases with the same uuid. The problem is that the uuid is no
> longer meaningful, as it doesn't do what it was intended to (uniquely
> identify the database).
> Can anyone see a way around this?

I think we don't mind this. As I mentioned above, when we see that 2
db files have the same uuid we can do a fast-forward replication by
starting from the lower of the 2 dbs sequence #s for replication.
(maybe... Adam, does this sound sane?)

Chris Anderson

View raw message