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

CommunicationObserver and its MBeans need proper synchronization

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment