Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 31993 invoked from network); 8 Mar 2009 18:19:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2009 18:19:08 -0000 Received: (qmail 83256 invoked by uid 500); 8 Mar 2009 18:19:01 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 83217 invoked by uid 500); 8 Mar 2009 18:19:01 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 83206 invoked by uid 99); 8 Mar 2009 18:19:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2009 11:19:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of 0x6e6562@gmail.com designates 209.85.220.165 as permitted sender) Received: from [209.85.220.165] (HELO mail-fx0-f165.google.com) (209.85.220.165) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2009 18:18:54 +0000 Received: by fxm9 with SMTP id 9so1148722fxm.11 for ; Sun, 08 Mar 2009 11:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=dK1JEFP8xCWtp+Ht2c04jQrgSVk9KYGu2TH2cakoCTQ=; b=lUXkoXXIr7cgrgUbJoX/NfN08Tf6IJOnEH9QFFnDDIGz26DIJChd1Jv51J7id1Zv7n DABvv5jdbOj29sFiCBYChrqLOqjVIp8JE8Xsn8jBEMe3SCWnIQWEb+xEbgDn7Lb65+bF d21zBv7F3CVg8gABGMKfCE1RSiMJbIC5mjLjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=H+G0+I1tuZ8wTnbpMnXzM5r+HPw2nEaBtjb/NP5N/8IwFGyUksCA+oHIY7OU4JZVMp cSvRrUihpNkJ9+WzVyvDSBqfOpw84yqqapoVz3G5yF2MSdtHKTjHlz/TdT9PUWZFVbAm lZ7wkDhMW5KH4CJOFcXunFx2NNsMtKFNdvNlc= MIME-Version: 1.0 Received: by 10.181.197.6 with SMTP id z6mr1689889bkp.213.1236536313712; Sun, 08 Mar 2009 11:18:33 -0700 (PDT) In-Reply-To: References: <269388e30903071822g783df2cr62a3746fe3a297a1@mail.gmail.com> <269388e30903080435j2a19c252yb0b0f79a27bbe065@mail.gmail.com> Date: Sun, 8 Mar 2009 18:18:33 +0000 Message-ID: <269388e30903081118g6eede43bsf739add97d24e7db@mail.gmail.com> Subject: Re: Temporal data From: Ben Hood <0x6e6562@gmail.com> To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Chris, On Sun, Mar 8, 2009 at 4:39 PM, Chris Anderson wrote: > I probably should be more coy about this sort of thing on the user list. ;) I know what you mean - it's always dangerous for a committer to talk about prospective functionality :-) > The functionality is not and never will be appropriate for building a > version control system. This planned feature is merely meant to make > the database file more resilient, and make it so that the hard drive > head never has to seek for writes. A consequence of the fact that the > file is never modified, only appended to, is that it contains a full > history of all updates (until compaction). I don't think I need (or want) a VCS on top of Couch. I'd like just to be able to navigate directly back to a dated snapshot as opposed to having to resolve a complete history chain. > There are 2 reasons you can't use this in an application. One is that > you're better off assuming your application can't control compaction. > The second is that you have to think this way if you'll be dealing > with replicated data. If you have edits on dbB and you replicate them > to dbA, dbA only see the edits that dbB would still contain if it were > replicated. Do you mean to say that you would lose the ability to retrieve earlier versions of an document that is no longer replicated? > If you are building a versioning application, your application needs > to do the versioning. The patterns for this are straightforward. I'm > sure Jan will post a link to his wiki when it's ready. Cool. I don't think that I need a full blown versioning system, otherwise I would probably be better off using something like git or hg. As indicated beforehand, the functionality I was looking at is along the lines of zfs send/receive. Ben