Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 89550 invoked from network); 30 Jan 2009 05:23:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2009 05:23:53 -0000 Received: (qmail 39350 invoked by uid 500); 30 Jan 2009 05:23:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 39318 invoked by uid 500); 30 Jan 2009 05:23:51 -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 39307 invoked by uid 99); 30 Jan 2009 05:23:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 21:23:51 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FS_REPLICA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antony.blakey@gmail.com designates 209.85.200.173 as permitted sender) Received: from [209.85.200.173] (HELO wf-out-1314.google.com) (209.85.200.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2009 05:23:42 +0000 Received: by wf-out-1314.google.com with SMTP id 28so321350wfc.29 for ; Thu, 29 Jan 2009 21:23:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=ZTF6vPSSw6rsg5xsq4iZPfxW20EY/PNFYvPcZzuiBDQ=; b=DcxlEQTogliLm2zMVj2bgEPqqMv0awU+LdJpMo/Wie5Gntke+U+LReDmGtN/JDPRZT S9/KC/Ks6mEWj1VuyZrlZpAYCzFrPMPMfIJQB4FhzBnHRVLJ+Ju8TnkzDX3w0IoH90lt tqXQB6U13qpFM8ju9OLaJRsvuhRBhGqlED4R0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=bm/FRZYxHYQ9SM9Qts5aasURP8ZdNKKkNOPe8ouANmWjfOKNf9RrgdLnA2JmiPN0HS Iylcn+Uz+JYkcVolz2CRGkr0FxIYMpk+OHqeRjd8scRZ1xLBhe2lntuknlh72RTx2EaJ 8CjdMAy6Z5bPxay1FK1D2JFpSep6JjVZrMGb4= Received: by 10.142.12.14 with SMTP id 14mr341143wfl.120.1233293000766; Thu, 29 Jan 2009 21:23:20 -0800 (PST) Received: from ?192.168.0.19? (ppp121-45-202-232.lns10.adl2.internode.on.net [121.45.202.232]) by mx.google.com with ESMTPS id 30sm805448wfg.25.2009.01.29.21.23.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Jan 2009 21:23:20 -0800 (PST) Message-Id: <832E01A3-CD2B-4DA0-98FC-4908FE962396@gmail.com> From: Antony Blakey To: user@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Trouble with replication Date: Fri, 30 Jan 2009 15:53:16 +1030 References: <20090128153026.GA12384@uk.tiscali.com> <20090128184531.GA15706@uk.tiscali.com> <9C0E9C8B-C783-47DE-8504-2CDC98650D99@apache.org> <20090129090318.GB6509@uk.tiscali.com> <91CE1D9D-2D5A-40BA-8D20-D24559BBA0F0@apache.org> <20090129210009.GC28166@uk.tiscali.com> <06CD9F6F-D8E8-4057-8454-DE85CA4D1C87@gmail.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org On 30/01/2009, at 9:49 AM, Chris Anderson wrote: > What's happening in this scenario is that B is not getting any revs > from A. Replication is one-way. I think if you always trigger > replication both ways, then your nodes will be consistent (assuming > they accept the same set of updates as valid). If you have > 2 nodes then that is no longer true. Consider three nodes A, B and C where A: has a validation function F B: a document that is invalid under F Replicating B -> C, A -> C is different than A -> C, B -> C, and there is no global steady state that can be reached. Without these non-functional additions, A, B, C will tend to a global steady state assuming full replication coverage, regardless of ordering. At least that's what I assume from the wiki statement about the determinism of conflict resolution. Have I made the wrong assumption about that? Antony Blakey ------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 The intuitive mind is a sacred gift and the rational mind is a faithful servant. We have created a society that honours the servant and has forgotten the gift. -- Albert Einstein