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

ASF GitHub Bot commented on COUCHDB-2992:
-----------------------------------------

GitHub user nickva opened a pull request:

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

    Allow limiting maximum document body size

    This is the HTTP layer and some tests. The actual checking is done in couch
    application's from_json_obj/1 function.
    
    If a document is too large it will return a 413 response code. The error 
reason
    will be the document ID. The intent is to help users identify the document 
if
    they used _bulk_docs endpoint. It will also help replicator skip over 
documents
    which are too large.
    
    COUCHDB-2992

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

    $ git pull https://github.com/cloudant/couchdb-chttpd couchdb-2992

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

    https://github.com/apache/couchdb-chttpd/pull/157.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 #157
    
----
commit 95ecd629f77444dd5fa2820fbc18cccaba350f6d
Author: Nick Vatamaniuc <[email protected]>
Date:   2017-03-13T06:22:19Z

    Allow limiting maximum document body size
    
    This is the HTTP layer and some tests. The actual checking is done in couch
    application's from_json_obj/1 function.
    
    If a document is too large it will return a 413 response code. The error 
reason
    will be the document ID. The intent is to help users identify the document 
if
    they used _bulk_docs endpoint. It will also help replicator skip over 
documents
    which are too large.
    
    COUCHDB-2992

----


> Add additional support for document size
> ----------------------------------------
>
>                 Key: COUCHDB-2992
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2992
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>            Reporter: Tony Sun
>
> Currently, only max_document_size of 64 GB is the restriction for users 
> creating documents. Large documents often leads to issues with our indexers. 
> This feature will allow users more finer grain control over document size.



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

Reply via email to