[
https://issues.apache.org/jira/browse/COUCHDB-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266637#comment-14266637
]
Robert Newson commented on COUCHDB-2535:
----------------------------------------
noting that the expected result is not what we'd do, we won't pretend this is a
validate_doc_update failure when it isn't. It's more like failing to write a
design document on the target if not using admin creds.
That said, I'm not keen on a replication 'succeeding' (i.e, completing) without
copying all the (non-design) documents. I think it *should* crash/fail until
the target is able to take all the documents or the user applies a filter to
avoid documents that can't be replicated, but I'd like to hear from other devs.
> Crash when replicating doc that exceeds max_document_size
> ---------------------------------------------------------
>
> Key: COUCHDB-2535
> URL: https://issues.apache.org/jira/browse/COUCHDB-2535
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Replication
> Affects Versions: 1.5.1
> Reporter: Rami Alia
>
> DB SOURCE has a max_document_size of 400MB, DB TARGET has a max_document_size
> of 40MB. Attempt to replicate a doc greater than 40MB from SOURCE to TARGET.
> Observed result:
> SOURCE replicator crashes followed by SOURCE couchdb crashing
> Expected result:
> SOURCE/TARGET handle this as gracefully as a validation fail and not crash
> replication or couchdb
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)