[ 
https://issues.apache.org/jira/browse/COUCHDB-3425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043118#comment-16043118
 ] 

ASF subversion and git services commented on COUCHDB-3425:
----------------------------------------------------------

Commit 42b34010841afe00596c579af346651b7202d963 in couchdb's branch 
refs/heads/COUCHDB-3298-optimize-writing-btree-nodes from [~alexandergeorge]
[ https://gitbox.apache.org/repos/asf?p=couchdb.git;h=42b3401 ]

Allow configuration of max doc IDs for optimised code path in changes filter

There are two implementations for filtering the _changes feed by doc_ids.  One
implementation is faster, but requires more server resources.  The other is
cheaper but very slow.  This commit allows configuration of the threshold at
which couch changes to using the slower implementation using:

        [couchdb]
        changes_doc_ids_optimization_threshold = 100

COUCHDB-3425


> Make _doc_ids _changes filter fast-path limit configurable
> ----------------------------------------------------------
>
>                 Key: COUCHDB-3425
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3425
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>            Reporter: Alex Anderson
>
> For the builtin filter `_docs_ids`, the maximum number of documents for which 
> we trigger the optimized code path is hardcoded to 100 here:
> https://github.com/apache/couchdb/blob/master/src/couch/src/couch_changes.erl#L32-L34
> It would be helpful if this number was configurable.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to