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

Make _doc_ids _changes filter fast-path limit configurable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              alxndrsn Alex Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: