Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A624D9E3B for ; Mon, 12 Mar 2012 12:57:57 +0000 (UTC) Received: (qmail 32143 invoked by uid 500); 12 Mar 2012 12:57:57 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 32083 invoked by uid 500); 12 Mar 2012 12:57:57 -0000 Mailing-List: contact dev-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 dev@couchdb.apache.org Received: (qmail 32075 invoked by uid 99); 12 Mar 2012 12:57:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 12:57:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of koeglstefan@gmail.com designates 209.85.215.180 as permitted sender) Received: from [209.85.215.180] (HELO mail-ey0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 12:57:49 +0000 Received: by eaal12 with SMTP id l12so1045318eaa.11 for ; Mon, 12 Mar 2012 05:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=chKgGB5COKUJwlJs5V7nASkmyZPEpM4SNnBTWcImr0k=; b=f+r5SNjqy7pQszqGCViP5E+FS0fmP81WdFgINS7kFZ4HJG+8FaPBkXQatGHck9Imbh idRwbx3LDCsxs8WnZnH4snmk1/vvR2GzansGvdPBuO/Pe8y7xM4pNXNe6JuWUeKp1yUm wbZjfCve1qLQuOhtutetHKGQBaTqva+1fwTO6LHAkg55CRdKm6xWNLZf/K55mtDqd2MI sOBvG9z5VXqqUnSj/KPTbUaj4KK0wpg2PvVvALYVmV5koWuyHXFbt48QF/Ld6MfAtthr sfyMJrC+11nBIkqrQfnnnLkXJQB/bFgl5KrHhqmKt3g3zunsVHb+hdPloexf599VVcKy OJYw== MIME-Version: 1.0 Received: by 10.50.42.136 with SMTP id o8mr18793418igl.38.1331557048409; Mon, 12 Mar 2012 05:57:28 -0700 (PDT) Received: by 10.43.51.137 with HTTP; Mon, 12 Mar 2012 05:57:28 -0700 (PDT) In-Reply-To: References: <86FAED34-1BA3-4641-ACFB-FEEAC063C412@apache.org> <6994F93E-F74F-4AFB-9F3E-8D690AE58685@apache.org> <6210D68A-4FFC-4443-8939-F236B5CD9838@apache.org> Date: Mon, 12 Mar 2012 13:57:28 +0100 Message-ID: Subject: Re: Update Conflict for PUT/DELETE in _replicator From: =?ISO-8859-1?Q?Stefan_K=F6gl?= To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org In the meantime I tried copying the _replicator database to another instance, where I could delete the entry without problems. However it still doesn't work on the initial instance. If one of the committers is interested, I could organize either remote access via HTTP, or shell access to the machine it is running on. -- Stefan On Fri, Mar 2, 2012 at 4:30 PM, Stefan K=F6gl wrote= : > On Fri, Mar 2, 2012 at 4:06 PM, Jan Lehnardt wrote: >> I just created a replication doc under 1.1.1 and then copied the >> _replicator.couch file to a 1.2.x. On update I the expected result >> Robert also got ("Only the replicator can edit replication documents >> that are in the triggered state.". a curl -X DELETE on the doc with >> ?rev=3D4-abcd... (no quotes) also worked. > > The document was created with 1.2.x, from around the time of the second R= C. > > I also tried with quotes and got > > $ curl -sv -X DELETE > "http://stefan:*********@127.0.0.1:5984/_replicator/mygpo?rev=3D\"131-57b= 4da8d3163468cb0bbf4fd30c87832\"" > * About to connect() to 127.0.0.1 port 5984 (#0) > * =A0 Trying 127.0.0.1... connected > * Connected to 127.0.0.1 (127.0.0.1) port 5984 (#0) > * Server auth using Basic with user 'stefan' >> DELETE /_replicator/mygpo?rev=3D"131-57b4da8d3163468cb0bbf4fd30c87832" H= TTP/1.1 >> Authorization: Basic ************************** >> User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9= .8k zlib/1.2.3.3 libidn/1.15 >> Host: 127.0.0.1:5984 >> Accept: */* >> > < HTTP/1.1 500 Internal Server Error > < Server: CouchDB/1.2.0 (Erlang OTP/R14B04) > < Date: Fri, 02 Mar 2012 15:18:31 GMT > < Content-Type: text/plain; charset=3Dutf-8 > < Content-Length: 44 > < Cache-Control: must-revalidate > < > {"error":"unknown_error","reason":"badarg"} > * Connection #0 to host 127.0.0.1 left intact > * Closing connection #0 > > After that I also tried compacting the _replicator database, but also > that didn't change anything. > > > -- Stefan