couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Trainer (JIRA)" <>
Subject [jira] Updated: (COUCHDB-799) Etag of a view sould only change if a relevant document is changed
Date Mon, 16 Aug 2010 15:02:17 GMT


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:
>             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.

View raw message