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

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

GitHub user nickva opened a pull request:

    https://github.com/apache/couchdb-couch/pull/233

    Rename max_document_size to max_http_request_size

    `max_document_size` is implemented as `max_http_request_size`. There was no
    real check for document size. In some cases the implementation was close 
enough
    of a proxy (PUT-ing and GET-ing single docs), but in some edge cases, like
    _bulk_docs requests the discrepancy between request size and document size
    could be rather large.
    
    The section was changed accordingly from `couchdb` to `httpd`. `httpd` was
    chosen as it applies to both clustered as well as local interface.
    
    There is a parallel effort to implement an actual max_document_size check. 
The
    set of commit should be merged close enough together to allow for a 
backwards
    compatible transition.
    
    COUCHDB-2992

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

    $ git pull https://github.com/cloudant/couchdb-couch 
64229-add-new-request-parameter

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

    https://github.com/apache/couchdb-couch/pull/233.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 #233
    
----
commit d3055f191797f8b637e3b64f6a50e522d2c8bbde
Author: Nick Vatamaniuc <[email protected]>
Date:   2017-03-07T21:47:11Z

    Rename max_document_size to max_http_request_size
    
    `max_document_size` is implemented as `max_http_request_size`. There was no
    real check for document size. In some cases the implementation was close 
enough
    of a proxy (PUT-ing and GET-ing single docs), but in some edge cases, like
    _bulk_docs requests the discrepancy between request size and document size
    could be rather large.
    
    The section was changed accordingly from `couchdb` to `httpd`. `httpd` was
    chosen as it applies to both clustered as well as local interface.
    
    There is a parallel effort to implement an actual max_document_size check. 
The
    set of commit should be merged close enough together to allow for a 
backwards
    compatible transition.
    
    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