Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15B22176EA for ; Tue, 6 Jan 2015 20:26:34 +0000 (UTC) Received: (qmail 34231 invoked by uid 500); 6 Jan 2015 20:26:34 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 34170 invoked by uid 500); 6 Jan 2015 20:26:34 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 34158 invoked by uid 99); 6 Jan 2015 20:26:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2015 20:26:34 +0000 Date: Tue, 6 Jan 2015 20:26:34 +0000 (UTC) From: "Alexander Shorin (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COUCHDB-2535) Crash when replicating doc that exceeds max_document_size MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266698#comment-14266698 ] Alexander Shorin commented on COUCHDB-2535: ------------------------------------------- For continuous replications you can check /_active_tasks for stats, but indeed we should provide more feedback on replication process. Counters are good for stats, but they are completely useless when you need to understand their origin. Counters couldn't tells you which exact documents failed and the reason why. So when you see "docs_failed: 42" the only though you have is "ok, what's now?" - not much helpful. > 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)