From user-return-15413-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Mar 24 12:21:15 2011 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 6055 invoked from network); 24 Mar 2011 12:21:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2011 12:21:15 -0000 Received: (qmail 87752 invoked by uid 500); 24 Mar 2011 12:21:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 87715 invoked by uid 500); 24 Mar 2011 12:21:13 -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 87707 invoked by uid 99); 24 Mar 2011 12:21:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 12:21:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcdcu-couchdb-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 12:21:05 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q2jWr-0006nw-TZ for user@couchdb.apache.org; Thu, 24 Mar 2011 13:20:41 +0100 Received: from static-96-234-151-100.bltmmd.fios.verizon.net ([96.234.151.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Mar 2011 13:20:41 +0100 Received: from jimzombek by static-96-234-151-100.bltmmd.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Mar 2011 13:20:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: user@couchdb.apache.org From: Jim Z Subject: Re: =?utf-8?b?X2Rlc2lnbg==?= document conflicts Date: Thu, 24 Mar 2011 12:20:30 +0000 (UTC) Lines: 29 Message-ID: References: <99216FD9-F06E-4ED4-AFE5-494812AB2A18@utt.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 96.234.151.100 (Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15) Aurélien Bénel writes: > > > >> > > > > For example, I modify a _design document in DB1. I then modify the > > same _design document in DB2. I then replicate DB1 to DB2. I would > > expect that CouchDB would identify a conflict, however after > > replication, Couch returns no conflicts in DB2. > > Are you sure the replicator connects to the other database as an admin > user? > I think you need to if you want to replicate the design also. > > Regards, > > Aurélien > Yes, the replicator connects to the other database as admin. The problem is not that the replication fails, rather how do I get a list of all the design documents that are in conflict? For non _design documents, we wrote a view to return all the documents in conflict. However, _design documents do not work with views. Any suggestions as to how to get a list of all _design documents in conflict after a successful replication would be greatly appreciated. Thanks. Jim