Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 9733 invoked from network); 31 Oct 2010 20:26:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Oct 2010 20:26:18 -0000 Received: (qmail 43783 invoked by uid 500); 31 Oct 2010 20:26:49 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 43733 invoked by uid 500); 31 Oct 2010 20:26:49 -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 43724 invoked by uid 99); 31 Oct 2010 20:26:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Oct 2010 20:26:49 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=10.0 tests=ALL_TRUSTED,FS_REPLICA 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, 31 Oct 2010 20:26:47 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9VKQPHB025849 for ; Sun, 31 Oct 2010 20:26:25 GMT Message-ID: <29719449.165221288556785536.JavaMail.jira@thor> Date: Sun, 31 Oct 2010 16:26:25 -0400 (EDT) From: =?utf-8?Q?Juuso_V=C3=A4=C3=A4n=C3=A4nen_=28JIRA=29?= To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-930) Locally replicated compressed attachements have wrong disk_len MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Locally replicated compressed attachements have wrong disk_len -------------------------------------------------------------- Key: COUCHDB-930 URL: https://issues.apache.org/jira/browse/COUCHDB-930 Project: CouchDB Issue Type: Bug Components: Replication Affects Versions: 1.0.1 Environment: Ubuntu 10.04, Erlang R13B3, couchdb svn rev 1029390 Debian squeeze/sid, Erlang R14A2, couchdb 1.0.1 Reporter: Juuso V=C3=A4=C3=A4n=C3=A4nen Priority: Minor When replicating document locally compressed attached file length is shown = wrongly on replication target. Also Content-Length -header shows zero value= when requesting replicated attachement. Source: {"_id":"c68f75e26cc62c81f0bab14441000141","_rev":"4-89b0b48063ae1f338321af8= d6b4e2eeb","_attachments":{"md5.patch":{"content_type":"text/x-patch","revp= os":2,"length":1259,"stub":true,"encoding":"gzip","encoded_length":534}}} Replicated: {"_id":"c68f75e26cc62c81f0bab14441000141","_rev":"4-89b0b48063ae1f338321af8= d6b4e2eeb","_attachments":{"md5.patch":{"content_type":"text/x-patch","revp= os":2,"length":534,"stub":true,"encoding":"gzip","encoded_length":534}}} Steps to produce: 1. create databases a and b 2. create text-document with attachement on db a 3. start local replication a to b 4. request document's attachement on db b --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.