Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 2399 invoked from network); 1 Nov 2009 11:30:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Nov 2009 11:30:10 -0000 Received: (qmail 6517 invoked by uid 500); 1 Nov 2009 11:30:10 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 6439 invoked by uid 500); 1 Nov 2009 11:30:10 -0000 Mailing-List: contact commits-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 commits@couchdb.apache.org Received: (qmail 6430 invoked by uid 500); 1 Nov 2009 11:30:10 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 6427 invoked by uid 99); 1 Nov 2009 11:30:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Nov 2009 11:30:10 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Nov 2009 11:30:08 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id C204D16E2E; Sun, 1 Nov 2009 11:29:45 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Sun, 01 Nov 2009 11:29:45 -0000 Message-ID: <20091101112945.20443.59750@eos.apache.org> Subject: =?utf-8?q?=5BCouchdb_Wiki=5D_Update_of_=22Replication=5Fand=5Fconflicts?= =?utf-8?q?=22_by_BrianCandler?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for c= hange notification. The "Replication_and_conflicts" page has been changed by BrianCandler. The comment on this change is: open_revs=3Dall order is NOT related to winn= ing revision. http://wiki.apache.org/couchdb/Replication_and_conflicts?action=3Ddiff&rev1= =3D6&rev2=3D7 -------------------------------------------------- it would be possible to request a revision which is now missing, because = the database has been compacted. = - (NOTE: it's not clear if the ordering is related to the deterministic cho= ice + NOTE: the order of revisions returned by open_revs=3Dall is NOT related t= o the - of the "winning" revision. In the above example, the "winning" revision i= s 2-b91b... + deterministic "winning" algorithm. In the above example, the winning revi= sion is 2-b91b... - which is returned last, but I don't know if this is guaranteed to be true= always) + and happens to be returned last, but in other cases it can be returned in= a + different position. = Once you have retrieved all the conflicting revisions, your application c= an then choose to display them all to the user. Or it could attempt to merge them= , write