[ https://issues.apache.org/jira/browse/COUCHDB-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filipe Manana updated COUCHDB-639: ---------------------------------- Attachment: pull-rep-att-comp-2.patch Just eliminated a useless line that was adding "Accept-Encoding: gzip" to the attachment streaming request. This header is set by default in the definition of #http_db in couch_db.hrl > Pull replication should profit of compressed attachments for higher performance > ------------------------------------------------------------------------------- > > Key: COUCHDB-639 > URL: https://issues.apache.org/jira/browse/COUCHDB-639 > Project: CouchDB > Issue Type: Improvement > Components: Replication > Affects Versions: 0.11 > Environment: trunk > Reporter: Filipe Manana > Attachments: pull-rep-att-comp-2.patch, pull-rep-att-comp.patch > > > Currently, when doing a pull replication where there are docs at the source DB with compressed attachments: > 1) The source decompresses the attachment before sending it to the target DB > 2) The target compresses the attachment before storing it > Clearly, a waste of CPU, bandwidth and disk IO. > The following patch fixes the issue. JavaScript test included. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.