couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Trainer (JIRA)" <>
Subject [jira] Updated: (COUCHDB-858) GET /db/_design/doc/_info should not trigger an update
Date Wed, 18 Aug 2010 19:58:19 GMT


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

View raw message