Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3658

MembershipCache not consistently synchronized

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      the membership cache access is mostly synchronized on 'this' but in the onEvent() handler, the internal cache object is synchronized.

      suggest: to improve cache access by a r/w lock instead.

      Attachments

        1. JCR-3658.patch
          20 kB
          Marcel Reutegger
        2. patched.png
          69 kB
          Marcel Reutegger
        3. JCR-3658.patch
          15 kB
          Marcel Reutegger
        4. current.png
          60 kB
          Marcel Reutegger
        5. JCR-3658-test.patch
          9 kB
          Marcel Reutegger

        Activity

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

          People

            mreutegg Marcel Reutegger
            tripod Tobias Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment