You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Klaus Trainer (JIRA)" <ji...@apache.org> on 2010/08/16 17:02:17 UTC

[jira] Updated: (COUCHDB-799) Etag of a view sould only change if a relevant document is changed

     [ https://issues.apache.org/jira/browse/COUCHDB-799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Klaus Trainer updated COUCHDB-799:
----------------------------------

    Attachment: 0001-Don-t-change-a-view-group-s-ETag-as-long-as.patch

With this modification, a view group's ETag (a view group is the set of views contained in a particular design document) won't change as long as updates don't change at least one of the view group's views' indices.

One could still make the ETag calculation more granular, so that it would be calculated on a per-view basis in place of a per-view-group basis. However, it seems that way more intrusive changes would be necessary in order to achieve this.

Please review the attached patch, and tell me what you think about it.

> Etag of a view sould only change if a relevant document is changed
> ------------------------------------------------------------------
>
>                 Key: COUCHDB-799
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-799
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 0.11
>            Reporter: Siegmund Führinger
>            Priority: Minor
>         Attachments: 0001-Don-t-change-a-view-group-s-ETag-as-long-as.patch
>
>
> currently the Etag of a view changes, whenever a document is changed. no matter if the document is relevant to the view or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.