Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 78529 invoked from network); 12 Sep 2010 19:27:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Sep 2010 19:27:54 -0000 Received: (qmail 29698 invoked by uid 500); 12 Sep 2010 19:27:54 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 29629 invoked by uid 500); 12 Sep 2010 19:27:53 -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 29621 invoked by uid 99); 12 Sep 2010 19:27:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 19:27:53 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=10.0 tests=ALL_TRUSTED,FS_REPLICA,NORMAL_HTTP_TO_IP,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 19:27:52 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8CJRWBY017655 for ; Sun, 12 Sep 2010 19:27:32 GMT Message-ID: <10093035.143001284319652669.JavaMail.jira@thor> Date: Sun, 12 Sep 2010 15:27:32 -0400 (EDT) From: "Klaus Trainer (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-885) Delete document with attachment fails after replication. In-Reply-To: <12408044.142171284313955102.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908535#action_12908535 ] Klaus Trainer commented on COUCHDB-885: --------------------------------------- Note that the procedure I've previously described will create a conflict: curl -X GET http://127.0.0.1:5984/foobase/doc?conflicts=true {"_id":"doc","_rev":"3-b06fcd1c1c9e0ec7c480ee8aa467bf3b","foo":"bar","_conflicts":["1-4c6114c65e295552ab1019e2b046b10e"]} > Delete document with attachment fails after replication. > -------------------------------------------------------- > > Key: COUCHDB-885 > URL: https://issues.apache.org/jira/browse/COUCHDB-885 > Project: CouchDB > Issue Type: Bug > Components: Replication > Affects Versions: 1.0.1 > Environment: Mac OSX, Windows XP, Windows 7 > Reporter: Nikolai Teofilov > > Step to reproduce the bug: > 1. Make database "test" on a remote couchdb server that reside on a different machine! > 2. Create new document: "http://remote-server:5984/test/doc" > 3. Create database "test" on the local couchdb server. > 4. Trigger pull replication http://remote-server:5984/test -> http://localhost:5984/test > 5. Attach a file to the replicated document on the local couchdb server. > 6. Trigger push replication http://localhost:5984/test -> http://remote-server:5984/test > 7. Delete the replicated document that contain now the attachment on remote database. > > This operation will delete the last revision of the document (after the replication) but the previous revision of the document (before the replication) still exist in the database. > This defect appears only for replications between databases on two different couchdb servers, and only for documents that were updated with a new attachment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.