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/18 21:58:19 UTC

[jira] Updated: (COUCHDB-858) GET /db/_design/doc/_info should not trigger an update

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

Klaus Trainer updated COUCHDB-858:
----------------------------------

    Attachment: 0001-Don-t-trigger-a-view-update-when-sending-a-GET.patch

Here the relevant piece from the IRC log:

kocolosk: i believe all one needs to do is remove the spawn_link couch_view_updater:update line from couch_view_group:init

I just wanted to see if kocolosk was right, and yes he was :)

The attached patch makes sure that a GET request to /db/_design/doc/_info never triggers an update of the view group.

> GET /db/_design/doc/_info should not trigger an update
> ------------------------------------------------------
>
>                 Key: COUCHDB-858
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-858
>             Project: CouchDB
>          Issue Type: Bug
>         Environment: All
>            Reporter: mikeal
>         Attachments: 0001-Don-t-trigger-a-view-update-when-sending-a-GET.patch
>
>
> Ran across this in my futon rewrite.
> A call to the info for a ddoc triggers an update in some cases. koco says it's when that "group is open". 
> This request needs to either not trigger an update or respect stale=ok.

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