couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davisp <>
Subject [GitHub] couchdb-couch pull request: 2516 deduplicate attachements on compa...
Date Wed, 07 Jan 2015 19:33:51 GMT
Github user davisp commented on the pull request:
    For posterity, we were trying to make this work without requiring an on-disk format change
but sadly that appears to not be possible due to the lack of information available when updating
documents. Given the lack of information we can't tell if an attachment that's being updated
or deleted needs to be counted in active_size.
    The proper fix for this will be to add a new index to each database that contains the
attachment data. Given the merge work we're going to delay this until later. Also if/when
we get back to this we'll also want to investigate having attachment data stored in a separate
file which would remove a lot of the gymnastics we have around couch_file:make_blocks and

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message