From dev-return-6040-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu Aug 20 11:13:29 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 1702 invoked from network); 20 Aug 2009 11:13:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 11:13:28 -0000 Received: (qmail 1932 invoked by uid 500); 20 Aug 2009 11:13:47 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 1871 invoked by uid 500); 20 Aug 2009 11:13:47 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 1861 invoked by uid 99); 20 Aug 2009 11:13:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 11:13:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 11:13:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 09F0A234C1E9 for ; Thu, 20 Aug 2009 04:13:15 -0700 (PDT) Message-ID: <271024526.1250766795039.JavaMail.jira@brutus> Date: Thu, 20 Aug 2009 04:13:15 -0700 (PDT) From: "Bob Dionne (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-477) Add database uuid's In-Reply-To: <1780098480.1250761515039.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745392#action_12745392 ] Bob Dionne commented on COUCHDB-477: ------------------------------------ I tested this all against a clean checkout of trunk and it looks good. The new algorithm is faster on inserts[1] but interestingly for single inserts is makes for a larger db pre-compact. After compaction the db is smaller by a factor of 3 I thought we leave the new "sequentially random" as the default? Paul, is the concern just what's advertised to users? Algorithms based on the system clock I think can be problematic as they assume all machines have the correct time. [1] http://gist.github.com/170982 > Add database uuid's > ------------------- > > Key: COUCHDB-477 > URL: https://issues.apache.org/jira/browse/COUCHDB-477 > Project: CouchDB > Issue Type: New Feature > Reporter: Robert Newson > Attachments: 0001-add-uuid-to-database-on-creation-return-it-in-db_in.patch > > > Add a uuid to db_header to distinguish different databases that have the same name (for example, by deleting and creating the same named database). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.