You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2016/08/11 09:47:20 UTC

[jira] [Resolved] (COUCHDB-3096) Fix config listener handler accumulation

     [ https://issues.apache.org/jira/browse/COUCHDB-3096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Newson resolved COUCHDB-3096.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

[~paul.joseph.davis] please close.

> Fix config listener handler accumulation
> ----------------------------------------
>
>                 Key: COUCHDB-3096
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3096
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Paul Joseph Davis
>             Fix For: 2.0.0
>
>
> We found an issue in production with config listeners piling up in the config_event gen_event server. This was due to how we fixed the API inconsistencies. We had re-parented the handler supervision to the config gen_server instead of the process that wanted config notifications. This means that since config never dies the handlers are never removed. The proposed patch just removes the config gen_server and uses a dedicated gen_server per event handler that handles the gen_event_EXIT messages. PR incoming after I have a ticket number.



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