Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-130

Inappropriate caching of Members in Hib3MemberDAO requires JVM restart to pick up changes to database from other JVM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.3.1
    • 1.3.0
    • API
    • None

    Description

      Apparently we cache MemberDTO objects against uuid in Hib3MemberDAO:

      private static HashMap<String, MemberDTO> uuid2dtoCache = new HashMap<String, MemberDTO>();

      Also Hib3GroupDAO has:

      private static HashMap<String, Boolean> existsCache = new HashMap<String, Boolean>();

      These should be changed to use Ehcaches. This will require configuration of two new caches and changes to the DAO code

      Attachments

        Activity

          People

            isgwb Gary Brown (Inactive)
            isgwb Gary Brown (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: