couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1940) Add digest_raw and size_raw to compressed _attachments entries
Date Mon, 17 Feb 2014 12:41:19 GMT


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:
>             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
> 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

View raw message