couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1993) Make fabric work with the refactored view engine
Date Thu, 27 Feb 2014 20:03:44 GMT


ASF subversion and git services commented on COUCHDB-1993:

Commit 3015c8554ae38fc3fa7890209c5e394e5995e1c8 in couchdb-couch-mrview's branch refs/heads/1993-bigcouch-couch-mrview
from [~chewbranca]
[;h=3015c85 ]

Add support for multi query views

This adds support for making multiple view queries in one request by
supplying a "queries" list in a POST request body. The primary
implementation was ported over from chttpd_view:multi_query_view/5.

The support added here is two fold. First, we add multi_query_view
support to the single node interface in couch_mrview_http. Second we
add support in couch_mrview_http:view_cb/2 to allow chttpd to utilize
this callback as well.

This also switches updates the #vacc record from setting a multi_query
flag, to instead setting a should_close flag. Now
couch_mrview_http:view_cb/2 will only start a new delayed response if
#vacc.resp is undefined, and similarly, it will only close a delayed
response if #vacc.should_close is true.


> Make fabric work with the refactored view engine
> ------------------------------------------------
>                 Key: COUCHDB-1993
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: BigCouch
>            Reporter: Volker Mische
>            Assignee: Russell Branca

This message was sent by Atlassian JIRA

View raw message