couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Vander Wilt (JIRA)" <>
Subject [jira] [Created] (COUCHDB-1910) Add a batch size limit to _changes?filter
Date Tue, 15 Oct 2013 18:50:45 GMT
Nathan Vander Wilt created COUCHDB-1910:

             Summary: Add a batch size limit to _changes?filter
                 Key: COUCHDB-1910
             Project: CouchDB
          Issue Type: Improvement
            Reporter: Nathan Vander Wilt

When requesting filtered changes, there should be a way to limit the number of rows *processed*
in addition to the limit returned.

Consider a slow filter that matches only the very last change in a database with update_seq=42000000.
There's a good chance the HTTP request could get interrupted before any results are returned
(e.g. in which case the client has no choice
but to retry from the very beginning.

Instead, it should be possible to filter through results ?since=X&count=N2&limit=N1
and get an HTTP response with the lesser of N1 or N2 changes processed.

This message was sent by Atlassian JIRA

View raw message