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 B1C37E921 for ; Mon, 28 Jan 2013 17:37:14 +0000 (UTC) Received: (qmail 87940 invoked by uid 500); 28 Jan 2013 17:37:14 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 87866 invoked by uid 500); 28 Jan 2013 17:37:14 -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 87742 invoked by uid 99); 28 Jan 2013 17:37:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jan 2013 17:37:14 +0000 Date: Mon, 28 Jan 2013 17:37:13 +0000 (UTC) From: "Randall Leeds (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (COUCHDB-1305) keep db crashes from bubbling through couch_server when possible 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-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Randall Leeds closed COUCHDB-1305. ---------------------------------- Resolution: Fixed 1.3.x -- 9e8782fa1d5a0074272ea2d319ee658828e5da90 master -- 09d6787efdd40f7dd10dbb34cf80a9d88e1af502 > keep db crashes from bubbling through couch_server when possible > ---------------------------------------------------------------- > > Key: COUCHDB-1305 > URL: https://issues.apache.org/jira/browse/COUCHDB-1305 > Project: CouchDB > Issue Type: Improvement > Components: Database Core > Reporter: Randall Leeds > Assignee: Randall Leeds > Priority: Minor > Fix For: 1.3 > > > COUCHDB-1050 shows how an error in a db process can cause unexpected 'EXIT' messages to reach couch_server. These messages cause couch_server to restart, forcing all open databases to close, which has nasty effects like killing replications and index generation in unrelated databases. I suggest we use the couch_dbs_by_pid table to swallow the error, cleanup the ETS tables, log a message and continue. If a match isn't found in the table then the current unexpected message crash should be preserved. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira