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

Nick Vatamaniuc commented on COUCHDB-3168:
------------------------------------------

413 are emitted per request, generated from here:

https://github.com/apache/couchdb-chttpd/blob/master/src/chttpd.erl#L607-L611

So "max_document_size" is not strictly true as it is max_request_size really. 
Can still have documents smaller than that size just have many of them in a 
_bulk_docs request.

> Replicator doesn't handle writing document to a db which has a limited 
> document size
> ------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-3168
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3168
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Nick Vatamaniuc
>
> If a target db has set a smaller document max size, replication crashes.
> It might make sense for the replication to not crash and instead treat 
> document size as an implicit replication filter then display doc write 
> failures in the stats / task info / completion record of normal replications.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to