couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnewson <>
Subject [GitHub] couchdb-couch pull request: 2516 deduplicate attachements on compa...
Date Wed, 31 Dec 2014 16:43:22 GMT
Github user rnewson commented on the pull request:
    Use the md5 digest as a strong hint that we've seen this content before, but verify for
byte identity (read both attachments, compare exhaustively), and obviously there needs be
a unique key (I'm thinking {MD5, Count}, so {<<"foobar..">>, 0}, {<<"foobar...">>,
    Shorter version: You may only remove duplicate copies of data after you've compared for
true duplication, a digest (even a stronger one than MD5) is not sufficient.

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