Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2479

Upgrade to ISPN 7.2.3 or newer to avoid LIRS eviction bug

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 4.3.0.Final
    • Fix Version/s: 4.4.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      Infinispan 7.2.0.Final has an eviction bug for the LIRS algorithm which is used by the default workspace cache.
      This issue should be fixed in 7.2.3 or newer, so once this is released we should make sure we're using it.

      To workaround this bug, users which are using ModeShape 4.3.0.Final will have to define their own default workspace cache configuration using another algorithm than LIRS.

      For embedded mode, this is done via

       "workspaces" : {
              "cacheConfiguration" : "config/infinispan-tx-ws-cache.xml"
          }
      

      while for the Wildfly kit:

       <workspaces cache-config="modeshape/ws-cache-config.xml">
      

      The cache definition for the ws cache should be a non-transactional, transient (i.e. not backed by a loader) cache. See the current default as an example.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hchiorean Horia Chiorean
                  Reporter:
                  hchiorean Horia Chiorean
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: