couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hirst <paul.hi...@sophos.com>
Subject Re: MD5 collisions
Date Thu, 23 Sep 2010 08:29:54 GMT
On Thu, 2010-09-23 at 09:24 +0100, Sebastian Cohnen wrote:
> Still I don't see a reason for that situation to become a real problem:
>
> >      * Does this actually break couchdb? Ie would it be impossible to
> >        upload two different attachments with the same MD5?
> >              * To the same document?
>
> I'm not sure on this one, but since attachments are "namespaced" by their name, which
have to be unique per document, I don't see a problem for them having the same MD5 sum.
>
> >              * To different documents?
>
> Different documents are "namespaced" by their ID, so no problem here.
>
> >      * Are there any other implications? Would replication get
> >        confused?
>
> AFAIK replication does only take a look at _id and _rev.

Thanks a lot, that all sounds like excellent news.


Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.

Mime
View raw message