Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couch att erroneous md5 mismatch #3271

Merged
merged 1 commit into from Nov 16, 2020
Merged

Commits on Nov 16, 2020

  1. Remove incorrect MD5 check

    If an attachment was stored uncompressed but later is replicated
    internally to a node that wants to compress it (based on
    content-type), couchdb compares the uncompressed md5 with the
    compressed md5 and fails. This breaks eventual consistency between
    replicas.
    
    This PR removes the unnecessary MD5 check that is, in these specific
    circumstances, always called with mismatched arguments.
    rnewson committed Nov 16, 2020
    Copy the full SHA
    efcac23 View commit details
    Browse the repository at this point in the history