You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Francesco Mari (JIRA)" <ji...@apache.org> on 2017/01/26 12:18:24 UTC

[jira] [Updated] (OAK-5521) CommunicationObserver and its MBeans need proper synchronization

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