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

ASF GitHub Bot commented on COUCHDB-2986:
-----------------------------------------

GitHub user rnewson opened a pull request:

    https://github.com/apache/couchdb-chttpd/pull/112

    tolerate failure when inserting auth ddoc

    COUCHDB-2986

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-chttpd 
2986-tolerate-failure-auth-ddoc

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-chttpd/pull/112.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #112
    
----
commit 4c0564fc36fcb7204eb98a7fc2228890c1c54fbf
Author: Robert Newson <[email protected]>
Date:   2016-04-12T15:39:44Z

    tolerate failure when inserting auth ddoc
    
    COUCHDB-2986

----


> chttpd_sup can crash in ensure_auth_ddoc_exists
> -----------------------------------------------
>
>                 Key: COUCHDB-2986
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2986
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Robert Newson
>
> If a node is down, ensure_auth_ddoc_exists can crash, taking the chttpd 
> supervisor with it. Since injecting the ddoc can be retried later, this is 
> too severe. Log the error instead of crashing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to