You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2013/06/25 14:34:21 UTC

[jira] [Commented] (KARAF-2205) Cellar cluster event handler should check the local status before performing an operation

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

Jean-Baptiste Onofré commented on KARAF-2205:
---------------------------------------------

It's the case on most of Cellar modules, but a global review has to be performed.
                
> Cellar cluster event handler should check the local status before performing an operation
> -----------------------------------------------------------------------------------------
>
>                 Key: KARAF-2205
>                 URL: https://issues.apache.org/jira/browse/KARAF-2205
>             Project: Karaf
>          Issue Type: Improvement
>          Components: cellar-core
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.3.2
>
>
> When a cluster event is broadcasted to the different event handlers, those cluster even handlers should check the local status of the resource before updating it.
> For instance, it means that the BundleEventHandler should check the if a bundle is not already started before starting it.
> Else, it means that we may have some infinite loops: the event handler "directly" updates the local resource, the local resource listener get the local change, and brodcasts a cluster event.

--
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