[
https://issues.apache.org/jira/browse/OAK-5521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Mari updated OAK-5521:
--------------------------------
Summary: CommunicationObserver and its MBeans need proper synchronization
(was: CommunicationObserver and its MBeans needs proper synchronization)
> CommunicationObserver and its MBeans need proper synchronization
> ----------------------------------------------------------------
>
> Key: OAK-5521
> URL: https://issues.apache.org/jira/browse/OAK-5521
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-tar
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Fix For: 1.6
>
>
> The {{CommunicationObserver}} used in Cold Standby might be called
> concurrently by multiple threads. The implementation of
> {{CommunicationObserver}} doesn't currently use any form of synchronization
> to protect its state.
> Moreover, the MBeans published by the {{CommunicationObserver}} might be
> concurrently read via JMX and updated via the {{CommunicationObserver}}. As
> such, further synchronization is also needed in the MBeans to protect
> concurrent access to shared data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)