You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Richard Ellis (JIRA)" <ji...@apache.org> on 2017/01/23 11:36:27 UTC

[jira] [Created] (COUCHDB-3276) ETag for local documents does not match _rev

Richard Ellis created COUCHDB-3276:
--------------------------------------

             Summary: ETag for local documents does not match _rev
                 Key: COUCHDB-3276
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3276
             Project: CouchDB
          Issue Type: Documentation
          Components: HTTP Interface
            Reporter: Richard Ellis


The ETag for _local documents in CouchDB 1.6.1 was the same as the document _rev field as is the usual case for documents. I think since https://issues.apache.org/jira/browse/COUCHDB-2978 the local documents now return an ETag that doesn't match the _rev field.

The documentation at http://docs.couchdb.org/en/2.0.0/api/local.html#db-local-id still for local documents states that the "The semantics are identical to accessing a standard document in the specified database".

I'm sure there is probably an argument for making the _local document _rev match the content based ETag, but at the very least the documentation needs to call out the difference in behaviour.



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