GitHub user tonysun83 opened a pull request:

    https://github.com/apache/couchdb-chttpd/pull/114

    Add support for single_max_doc

    Users have been complaining about performance issues as well as indexing 
timeout issues.  Some of these issues are due to large documents. Currently, 
our only limitation is the max_document_size parameter that is set to 64 MB. 
With this enhancement, the goal is to provider some finer grained control over 
single document sizes and provide some more error info. The max_document_size 
still takes precedence. The default max size for a single doc is 1 MB.
    
    During bulk requests, when one of the documents exceeds the 
single_doc_max_size value, it will not be created/updated. The error message 
will simply be "too_large" for that document. Other documents under the limit 
will be created/updated normally.
    
    COUCHDB-2992

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/couchdb-chttpd 2992-limit-doc-size

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-chttpd/pull/114.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 #114
    
----
commit f7affd0d276e12b29e930666dd36ff7b9fdd8e5d
Author: Tony Sun <[email protected]>
Date:   2016-04-17T02:42:46Z

    Add support for single_max_doc
    
    This adds support for a new configuration param single_max_doc_size.
    Single documents that exceed this document will receive a too_large
    error.
    
    COUCHDB-2992

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to