couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1305) keep db crashes from bubbling through couch_server when possible
Date Sat, 26 Jan 2013 14:55:12 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563508#comment-13563508
] 

Benoit Chesneau commented on COUCHDB-1305:
------------------------------------------

+1. patch looks fine for me
                
> 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

Mime
View raw message