You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Dale Harvey (JIRA)" <ji...@apache.org> on 2015/11/13 00:31:10 UTC
[jira] [Created] (COUCHDB-2880) View can generate same etag on
different data
Dale Harvey created COUCHDB-2880:
------------------------------------
Summary: View can generate same etag on different data
Key: COUCHDB-2880
URL: https://issues.apache.org/jira/browse/COUCHDB-2880
Project: CouchDB
Issue Type: Bug
Components: HTTP Interface
Reporter: Dale Harvey
Found in the pouchdb test suite, we have 2 tests that use the same code for a view, they both generate delete the database, send 5 documents (with different data in each test) then query the view
CouchDB returns a 304 for these view requests, the browser has sent an {'If-None-Match',"\"5AQLK3HPOTM3ROW1T8BXG6979\""}, and I am assuming CouchDB has generated the etag based on the view signature + update_seq, so it returns a 304 despite being entirely different data
There is a log of the run https://gist.github.com/daleharvey/35296faca672831d8098#file-gistfile1-txt-L148 where you can clearly see a 304 made on the first ever request for a view after it being created in a new database
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)