You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Randall Leeds (JIRA)" <ji...@apache.org> on 2013/01/26 15:33:12 UTC
[jira] [Commented] (COUCHDB-1305) keep db crashes from bubbling
through couch_server when possible
[ https://issues.apache.org/jira/browse/COUCHDB-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563501#comment-13563501 ]
Randall Leeds commented on COUCHDB-1305:
----------------------------------------
Okay. Branch 1305-fix-isolate-db-crashes is ready to merge from my perspective.
Review welcome.
> 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