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 43AB69D25 for ; Wed, 22 Feb 2012 06:11:14 +0000 (UTC) Received: (qmail 43929 invoked by uid 500); 22 Feb 2012 06:11:13 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 43790 invoked by uid 500); 22 Feb 2012 06:11:13 -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 43775 invoked by uid 99); 22 Feb 2012 06:11:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 06:11:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 06:11:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A87623338DB for ; Wed, 22 Feb 2012 06:10:48 +0000 (UTC) Date: Wed, 22 Feb 2012 06:10:48 +0000 (UTC) From: "Sam Bisbee (Closed) (JIRA)" To: dev@couchdb.apache.org Message-ID: <715700651.3082.1329891048691.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (COUCHDB-416) Replicating shards into a single aggregation node may cause endless respawning 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-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Bisbee closed COUCHDB-416. ------------------------------ Resolved for a while. Closing. > Replicating shards into a single aggregation node may cause endless respawning > ------------------------------------------------------------------------------ > > Key: COUCHDB-416 > URL: https://issues.apache.org/jira/browse/COUCHDB-416 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 0.9 > Environment: couchdb 0.9.0.r766883 CentOS x86_64 > Reporter: Enda Farrell > Assignee: Adam Kocoloski > Priority: Critical > Fix For: 0.10 > > Attachments: Picture 2.png > > > I have a set of CouchDB instances, each one acting as a shard for a large set of data. > Ocassionally, we replicate each instances' database into a different CouchDB instance. We always "pull" replicate (see image attached) > When we do this, we often see errors like this on the target instance: > * [Thu, 16 Jul 2009 13:52:32 GMT] [error] [emulator] Error in process <0.29787.102> with exit value: {function_clause,[{lists,map,[#Fun,undefined]},{couch_rep,enum_docs_since,4}]} > * > * > * > * [Thu, 16 Jul 2009 13:52:32 GMT] [error] [<0.7456.6>] replication enumerator exited with {function_clause, > * [{lists,map, > * [#Fun,undefined]}, > * {couch_rep,enum_docs_since,4}]} .. respawning > Once this starts, it is fatal to the CouchDB instance. It logs these messages at over 1000 per second (log level = severe) and chews up HDD. > No errors (other than a HTTP timeout) are seen. > After a database had gone "respawning", the target node was shutdown, logs cleared, target node restarted. Log was tailed - all was quiet. Once a single replication was called again against this database it again immediatly went into respawning hell. There were no stacked replications in this case. > From this it seems that - if a database ever goes into "respawning" it cannot recover (when your enviroment/setup requires replication to occur always). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira