[ 
https://issues.apache.org/jira/browse/COUCHDB-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903190#comment-13903190
 ] 

Robert Newson commented on COUCHDB-1940:
----------------------------------------

We can do this when the values are available, which is not all the time. 
Notably, if the attachment was compressed by the client (and marked as such 
with Content-Encoding:gzip) then couchdb has no idea what the original length 
or md5 was.

> Add digest_raw and size_raw to compressed _attachments entries
> --------------------------------------------------------------
>
>                 Key: COUCHDB-1940
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1940
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>            Reporter: Isaac Z. Schlueter
>
> When attachments are compressed on disk, the `size` and `digest` refer the 
> compressed size and md5.  It would be nice if I had access to `size_raw` and 
> `digest_raw` of the uncompressed data.
> It is not necessary to back-fill, necessarily, but having that moving forward 
> would be a big help.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to