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

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

The sync property is for another purpose (it's at Cellar bootstrap or when a 
node joins a cluster group). A dedicated property for local state change should 
be created as proposed in KARAF-2169.
                
> Cellar local listeners have to check if sync is enabled
> -------------------------------------------------------
>
>                 Key: KARAF-2033
>                 URL: https://issues.apache.org/jira/browse/KARAF-2033
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-config, cellar-features, cellar-obr
>    Affects Versions: cellar-2.2.4
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.0, cellar-2.3.0, cellar-2.2.6
>
>
> Now, the Cellar local resources listeners (like the LocalBundleListener, 
> LocalFeaturesListener, etc) ignore if sync flag is true or false and always 
> update the distributed map and broadcast the cluster events.
> It can be perturbing for the users: the users expect that Cellar doesn't do 
> anything if sync is disabled for a given cluster group.
> So, as it's done in the synchronizers, the local listeners should check the 
> status of the sync flag and, if false, they shouldn't do anything.

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

Reply via email to