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

ASF subversion and git services commented on COUCHDB-3429:
----------------------------------------------------------

Commit dce6e34686329e711e1a6c50aae00761ecb3262e in couchdb's branch 
refs/heads/master from [~tonysun83]
[ https://gitbox.apache.org/repos/asf?p=couchdb.git;h=dce6e34 ]

Use Ejson Body Instead of Compressed Body for External size (#606)

Use ejson body instead of compressed body for external size

In two places where we calculate the ExternalSize of the document body,
we use the Summary which is a compressed version of the doc body. We
change this to use the actual ejson body. In copy_docs we don't have
access to the #doc record so we can't access the meta where we store
the ejson body. Unfortunately, this means we have to decompress the
document body after reading it from disk.

COUCHDB-3429

> Incorrect ExternalSize Calculation For DBs
> ------------------------------------------
>
>                 Key: COUCHDB-3429
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3429
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Tony Sun
>            Assignee: Tony Sun
>
> External Size for DB is calculated using compressed values. We should be 
> using the uncompressed values.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to