Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 93473 invoked from network); 9 Apr 2011 09:43:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2011 09:43:08 -0000 Received: (qmail 74957 invoked by uid 500); 9 Apr 2011 09:43:06 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 74838 invoked by uid 500); 9 Apr 2011 09:43:00 -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 74830 invoked by uid 99); 9 Apr 2011 09:42:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 09:42:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robert.newson@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 09:42:52 +0000 Received: by bwj24 with SMTP id 24so6440326bwj.11 for ; Sat, 09 Apr 2011 02:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=vf8ynoXwahSiviGp3DHRqpe+gSXELihSekDqM2jtIZQ=; b=WIICt8L4Q9iKUrvkRh5nZzgLmQzLMaSU/0MHSSE5Ys8nie3Zn75NBgzrrnwenulxDZ gIgrKRYeFAGAXNMArse98d9MS63+2oqtQOB6WLGo2mIouRWu/vllUME3Ric9LZs7CfQh EhI1AkKDR9ZO+RyU5fdocCsnI1P+iyySPH1ZE= 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=wBeFherpajU/BgDA1XseL/+TRgMd3j3EhhiXAZnVEdczlxUynGzwDIPbDQQvwvjctn oBXyWFtYkVYr+P23+0xZXXR1lZ1+ZrROB71eHT5+wJmuXd4WByhyApKmNPpfucKxmPBe BR5W4S1oVMHkeBS7Sv3TT2nMAkjV8ZTMA05iE= MIME-Version: 1.0 Received: by 10.204.177.11 with SMTP id bg11mr2817515bkb.9.1302342151147; Sat, 09 Apr 2011 02:42:31 -0700 (PDT) Received: by 10.204.67.67 with HTTP; Sat, 9 Apr 2011 02:42:31 -0700 (PDT) In-Reply-To: <1302338725.29780.6.camel@otto.amantes> References: <1302198233.3064.15.camel@ana.amantes> <1302338725.29780.6.camel@otto.amantes> Date: Sat, 9 Apr 2011 10:42:31 +0100 Message-ID: Subject: Re: change notifications question From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable CouchDB does not provide revisioning or history features to the end user at all. This is a common mistake. The use of _rev and MVCC is purely a mechanism to enable sane replication between servers where writes are permitted everywhere. CouchDB's replication will only ensure that the current version* of any document is replicated, earlier revisions are *not* replicated. Earlier revisions are also removed on compaction, which is an essential maintenance operation. B. * Strictly, CouchDB replicates all leaf revisions of all documents, the difference is only noticeable if a document has conflicts (all conflicting versions will be replicated). On 9 April 2011 09:45, Thomas Vander Stichele wrote: > On Thu, 2011-04-07 at 11:19 -0700, Mark Hahn wrote: >> You are not even guaranteed the old version will be there. > > I would be ok with that, it doesn't seem to be a big problem in > practice. =A0(Although it's strange to me that all the infrastructure is > there to have document revisions, but we have no control over how much > history we want couchdb to keep. =A0Seems like a relatively > straightforward next step). > >> =A0 You need >> to build history into your app. > > Can you be a bit more explicit about what you mean? > > It sounds like you say I should re-write CouchDB's revisioning/history > approach in my app just to get around the fact that couchdb has no > controls for history. =A0I might as well build it on top of anything else > than couchdb no ? :) > > Thanks > Thomas > > >