Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 09B1FCEA1 for ; Mon, 3 Jun 2013 18:28:30 +0000 (UTC) Received: (qmail 78576 invoked by uid 500); 3 Jun 2013 18:28:28 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 78404 invoked by uid 500); 3 Jun 2013 18:28:27 -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 78389 invoked by uid 99); 3 Jun 2013 18:28:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 18:28:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.160.42] (HELO mail-pb0-f42.google.com) (209.85.160.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 18:28:22 +0000 Received: by mail-pb0-f42.google.com with SMTP id uo1so6070017pbc.29 for ; Mon, 03 Jun 2013 11:27:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:from:to:cc:references:in-reply-to:subject:date :mime-version:content-type:x-priority:x-msmail-priority:importance :x-mailer:x-mimeole:x-gm-message-state; bh=9jeq7gYUHrJtR/dBYgvlSZ8lmr0HWIVeJ4Y83SrArlk=; b=HFBUD3rhibT0HLvNtKAejBq7xgnXDWJwaTPjidXYQ/kEvF3RrJYCRBYe4Uox2+rhzG EJCU4Zu91RzHpBs6qtjKnT+BH3vfBr1wAI8uDttzO7/8S/d13bfKkyp56RPgKJ4Biurp FEFIDDrvrB0MuvRp2AyLKnw/N+iSLhRfG3cWOddancoQ2fhk0DROOszs4dmOuuBwoIYh KtkveLHrrnN8uMZGQ5XkF+xa7UUwBchQgnB9jVQdSUDIFEKtVSNsCeBICwaJxZ9eTvlj va8z9bcx5Dmh7O7t07HJ6jGEGJ+rNI9wsDbwVkfRPW5Z9T7YthtRPQgQtzzq4fwyX5s7 VRfg== X-Received: by 10.66.251.39 with SMTP id zh7mr25379956pac.62.1370284061812; Mon, 03 Jun 2013 11:27:41 -0700 (PDT) Received: from Ezequiel2 (host178.190-231-8.telecom.net.ar. [190.231.8.178]) by mx.google.com with ESMTPSA id yj2sm59958839pbb.40.2013.06.03.11.27.40 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 03 Jun 2013 11:27:41 -0700 (PDT) Message-ID: <4CF99CC8C02E420088C547105F8591D8@Ezequiel2> From: "Ezequiel Naftali" To: "Christopher Bonhage" Cc: References: In-Reply-To: Subject: Re: Strange problem replicating Date: Mon, 3 Jun 2013 15:27:06 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_04E3_01CE606E.CE535580" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 X-Gm-Message-State: ALoCoQm06+iTVSjZ7OuRDZG/sxsd/Rx7u3cRJyslfJx8DRsTajmNKlHxTlAKZopcg/hnL1y3NZo2 X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_04E3_01CE606E.CE535580 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Chris, we finally resolved the problem. It was a credential problem that must = match both servers. Thanks for your help. EN. From: Christopher Bonhage=20 Sent: Sunday, June 02, 2013 3:40 PM To: Ezequiel Naftali=20 Cc: user@couchdb.apache.org=20 Subject: Re: Strange problem replicating Hey Ezequiel,=20 I have run into this several times when I have accidentally = misconfigured my servers with the same UUIDs (which are used for = replication checkpointing): Make sure that all of your couches have unique config value for = [couchdb] uuid or just delete the existing config value on your servers = and restart, which will generate new ones. This behavior is definitely a 'gotcha'; it's fairly new with the = introduction of server UUIDs and can be triggered unintentionally by = simply following the noble goal of using the same configuration files = for all of your servers. I hope that helps! Christopher Bonhage On May 31, 2013, at 1:30 PM, Ezequiel Naftali = wrote: Hi, We are developing a PHP application using couchdb. Inside the application I'm trying to replicate 4 DBs in and out: this = is * only* happening with one of those replications: database's name is "people". To avoid any PHP library specific issue, I'm testing from = bash running curl: *curl -H 'Content-Type: application/json' -X POST = LOCAL_PATH/_replicate -d '{"source":"REMOTE_PATH/people","target":"LOCAL_PATH/people", "continuous":false}'* With this output: *{"error":"checkpoint_commit_failure","reason":"Error updating the = source checkpoint document: conflict"}* I've checked this = post, but it doesn't seem to be that, as we're using full paths for = replication (both local and remote). This happens most of the times, but not always.. Any idea??? We have also tried the manual replication using the command line. Thanks, Ezequiel Naftali ------=_NextPart_000_04E3_01CE606E.CE535580--