[ https://issues.apache.org/jira/browse/COUCHDB-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828409#comment-15828409 ]
ASF GitHub Bot commented on COUCHDB-3269: ----------------------------------------- GitHub user eiri opened a pull request: https://github.com/apache/couchdb/pull/450 Bump dependencies for couch, chttpd and fabric List of changes: chttpd: cb0f20..90648a * allow w parameter for attachments fabric: 205064..998cf2 * Handle no_pass message when limit is 0 ([COUCHDB-3269](https://issues.apache.org/jira/browse/COUCHDB-3269)) * Merge remote-tracking branch 'willholley/3264-alldocs-keys-conflicts' ([COUCHDB-3264](https://issues.apache.org/jira/browse/COUCHDB-3264)) * Include conflicts parameter in doc_options ([COUCHDB-3264](https://issues.apache.org/jira/browse/COUCHDB-3264)) couch: b83f1a..318873 * Merge remote branch 'cloudant:validate-count-in-uuids' ([COUCHDB-3273](https://issues.apache.org/jira/browse/COUCHDB-3273)) * Return "Bad Request" when count in /_uuids exceeds max * Validate that count in /_uuids is positive * Merge remote branch 'cloudant:fix-views_tests' * Fix couchdb_views tests ([COUCHDB-3259](https://issues.apache.org/jira/browse/COUCHDB-3259)) * Don't trap exits in couch_file ([COUCHDB-3259](https://issues.apache.org/jira/browse/COUCHDB-3259)) * Merge branch 'COUCHDB-3255-fix-new-revid' ([COUCHDB-3255](https://issues.apache.org/jira/browse/COUCHDB-3255)) * Make revision generation deterministic ([COUCHDB-3255](https://issues.apache.org/jira/browse/COUCHDB-3255)) * Merge remote branch 'cloudant:add-filter-changes-test' * Add tests for filter by filter function * Reduce duplicated code, rename vars consistently * Prevent consumer from hiding error messages You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloudant/couchdb bump-dependencies Alternatively you can review and apply these changes as the patch at: https://github.com/apache/couchdb/pull/450.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #450 ---- commit 64bd1f16437671c56462ec1b9dcf7115e8dea37b Author: Eric Avdey <e...@eiri.ca> Date: 2017-01-18T17:07:35Z Bump dependencies for couch, chttpd and fabric List of changes: chttpd: cb0f20..90648a * allow w parameter for attachments fabric: 205064..998cf2 * Handle no_pass message when limit is 0 * Merge remote-tracking branch 'willholley/3264-alldocs-keys-conflicts' * Include conflicts parameter in doc_options couch: b83f1a..318873 * Merge remote branch 'cloudant:validate-count-in-uuids' * Return "Bad Request" when count in /_uuids exceeds max * Validate that count in /_uuids is positive * Merge remote branch 'cloudant:fix-views_tests' * Fix couchdb_views tests * Don't trap exits in couch_file * Merge branch 'COUCHDB-3255-fix-new-revid' * Make revision generation deterministic * Merge remote branch 'cloudant:add-filter-changes-test' * Add tests for filter by filter function * Reduce duplicated code, rename vars consistently * Prevent consumer from hiding error messages ---- > view response can 'hang' with filter and limit specified > -------------------------------------------------------- > > Key: COUCHDB-3269 > URL: https://issues.apache.org/jira/browse/COUCHDB-3269 > Project: CouchDB > Issue Type: Bug > Affects Versions: 2.0.0 > Reporter: Robert Newson > Fix For: 2.1.0 > > > If you query a large view with both 'filter' and 'limit' specified, couchdb > will not promptly complete the view response after the requested number of > rows has been returned. > This is because view completion happens on receipt of a 'change' or > 'completed' message from a worker. In the case of a filtered view request, > the worker might instead return a 'no_pass' message, indicating that no > documents passed the filter at a given sequence. > Add a clause in fabric_view_changes to handle this special case and end the > view response promptly where possible. -- This message was sent by Atlassian JIRA (v6.3.4#6332)