You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Nolan Lawson (JIRA)" <ji...@apache.org> on 2015/08/01 19:44:04 UTC

[jira] [Commented] (COUCHDB-2764) Etag can be made to not reflect content

    [ https://issues.apache.org/jira/browse/COUCHDB-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14650472#comment-14650472 ] 

Nolan Lawson commented on COUCHDB-2764:
---------------------------------------

To be fair, this is sort of a PouchDB bug, because we generate revs that aren't deterministic based on the content.

> Etag can be made to not reflect content
> ---------------------------------------
>
>                 Key: COUCHDB-2764
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2764
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Dale Harvey
>
> https://gist.github.com/daleharvey/2010c3d3f873bc03fc5e
> Is a curl example, basically if you new_edits: false a document you can use whatever data you want and the revision is not determined by its content, which makes can cause bugs if stuff depends on the etag being correct.
> We are hit this a lot in the pouchdb test suite since we delete databases and replicate into them often



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)