Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5521

CommunicationObserver and its MBeans need proper synchronization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.11, 1.8.0
    • segment-tar
    • None

    Description

      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.

      Attachments

        Activity

          People

            frm Francesco Mari
            frm Francesco Mari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: