Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 66798 invoked from network); 12 Sep 2010 18:48:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Sep 2010 18:48:08 -0000 Received: (qmail 3984 invoked by uid 500); 12 Sep 2010 18:48:07 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 3938 invoked by uid 500); 12 Sep 2010 18:48:07 -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 3930 invoked by uid 99); 12 Sep 2010 18:48:06 -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 18:48:06 +0000 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=FREEMAIL_FROM,FS_REPLICA,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of n.teofilov@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 18:47:59 +0000 Received: by fxm13 with SMTP id 13so3251645fxm.11 for ; Sun, 12 Sep 2010 11:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=hkFC1W/3DO7a99T/R9Awc3WJUtt1j6ojj7NIxIWXbso=; b=wJ1DaMUiprYH3/BfhrQRlf2XIOlTWbI5C0xa70mXfk/jRxIB7ngRgmz51HLgPWKN9W /QwYiKx/6HG98D3X6p0Z8KXU7OVfh0b2tKoa4UQwpnpkfsbZb6EleJ5Wp/9zQ+tuw96F C2bGqaNPfo8udqbH4IbXd25VN0BPxO5Zw+veA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=UQEaMA3FtvHLZVj4ZDHEQxeZLvYmB0w1Ye/PCn07fPeRDPe6DABppzdx6sHzoKrzOW /rgGgHtgkWRmiyF5OHkFemMoAWrIQYD1NJeN417TxrhEpaI1OdVH9D2X9EfCvahMx0f6 IqQDbsnWArhjNoIt9k73Pii/9bn6nwpj+YmEs= Received: by 10.223.114.210 with SMTP id f18mr2455313faq.66.1284317257856; Sun, 12 Sep 2010 11:47:37 -0700 (PDT) Received: from [192.168.1.4] (95-88-94-197-dynip.superkabel.de [95.88.94.197]) by mx.google.com with ESMTPS id m17sm397520fag.2.2010.09.12.11.47.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 12 Sep 2010 11:47:37 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: [jira] Commented: (COUCHDB-885) Delete document with attachment fails after replication. From: Nikolai Teofilov In-Reply-To: <13836055.142391284315933097.JavaMail.jira@thor> Date: Sun, 12 Sep 2010 20:47:36 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <84F586EF-E228-412C-B3A8-DA092CCEC220@gmail.com> References: <13836055.142391284315933097.JavaMail.jira@thor> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1081) In step 7. delete document on the remote database not on the local. Cheers Nikolai On 12.09.2010, at 20:25, Sebastian Cohnen (JIRA) wrote: >=20 > [ = https://issues.apache.org/jira/browse/COUCHDB-885?page=3Dcom.atlassian.jir= a.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1290851= 8#action_12908518 ]=20 >=20 > Sebastian Cohnen commented on COUCHDB-885: > ------------------------------------------ >=20 > I cannot reproduce. >=20 > But I'm not sure if I understand your steps correctly, so I've written = a bash script (see http://www.friendpaste.com/6SrHCU1lseUURuwTJEpCpk) to = execute your steps. Could you have a look and verify that I understood = your steps correctly? >=20 >> Delete document with attachment fails after replication. >> -------------------------------------------------------- >>=20 >> 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 >>=20 >> Step to reproduce the bug: >> 1. Make database "test" on a remote couchdb server that reside on a = different machine!=20 >> 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. >>=20 >> 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. >=20 > --=20 > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. >=20