Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39240

Hibernate L2 cache is not being cleared by memory tool

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.0, 19.0
    • Fix Version/s: None
    • Component/s: Kernel
    • Labels:
      None
    • Previous Issue Keys:
      KNL-1589
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      When using the Memory tool "Reset all caches" button, it doesn't appear as if the hibernate caches are being cleared. The method called for this is resetCachers.

      Here's some writeup about what might be needed for that
      https://stackoverflow.com/questions/2461063/how-to-clear-all-hibernate-cache-ehcache-using-spring

      You can test this pretty easily by changing the IS_CURRENT or modifying the CM_ACADEMIC_SESSION_T table. Changing this table and resetting will not take effect until after a restart. (Or presumably after a TTL expires)

      Earle suggests that JMX may be used to reset these caches. He also suggests we may not want to clear every cache.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration