Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3425

Make _doc_ids _changes filter fast-path limit configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Database Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alxndrsn Alex Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: