couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <>
Subject [jira] Created: (COUCHDB-554) RFC3284 support for delta-based attachment updates
Date Mon, 02 Nov 2009 18:25:01 GMT
RFC3284 support for delta-based attachment updates

                 Key: COUCHDB-554
             Project: CouchDB
          Issue Type: New Feature
          Components: Database Core
            Reporter: Robert Newson

I was thinking about being to update an attachment with a binary diff instead of a full upload
(in those cases where the diff would be much smaller, of course). RFC3284 (
seems to document a generic syntax for describing a patch.

The idea is that you would PUT an encoded diff as the body instead of sending the full bytes.
If the attachment's revision matches your PUT's revision, then CouchDB will apply the delta
to its locally stored version to make the new version. As a further option, CouchDB could
store the delta itself and apply it on fetch. This might complicate compaction, though.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message