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 A757D4CEB for ; Thu, 19 May 2011 09:40:31 +0000 (UTC) Received: (qmail 5536 invoked by uid 500); 19 May 2011 09:40:31 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 5468 invoked by uid 500); 19 May 2011 09:40:30 -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 5450 invoked by uid 99); 19 May 2011 09:40:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 09:40:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 09:40:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 81225D0F2B for ; Thu, 19 May 2011 09:39:47 +0000 (UTC) Date: Thu, 19 May 2011 09:39:47 +0000 (UTC) From: "Jason Smith (JIRA)" To: dev@couchdb.apache.org Message-ID: <530856012.26186.1305797987525.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <504756105.24218.1305755567823.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1170) include attachment md5 sums in _attachments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036092#comment-13036092 ] Jason Smith commented on COUCHDB-1170: -------------------------------------- Paul, I will reply to you in COUCHDB-687. > include attachment md5 sums in _attachments > ------------------------------------------- > > Key: COUCHDB-1170 > URL: https://issues.apache.org/jira/browse/COUCHDB-1170 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 1.0.2 > Reporter: Randall Leeds > Priority: Minor > Fix For: 1.1 > > Attachments: 0001-include-md5sum-field-in-_attachments-entries.patch > > > Crucial to functioning replication is deterministic revisions. Attachment md5 sums are used in CouchDB's revision generation (see couch_db:new_revid/1). > Alternative CouchDB implementations may find it impossible or impractical to support binary attachments yet still wish to track changes and replicate efficiently with Apache CouchDB. To this end, such implementations need an efficient way to fetch all metadata necessary for calculating compatible revisions in the event of locally executed future updates. > As a bonus, exposing this metadata is particularly beneficial for filesystem sync tools (such as couchapp implementations), e.g. through eliminating the need for redundantly storing checksums as user data on synchronized documents. > To this end I propose the following 5-line patch which applies cleanly to trunk, 1.1.x and 1.0.x. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira