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

Upgrade to ISPN 7.2.3 or newer to avoid LIRS eviction bug

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Blocker
    • 4.4.0.Final
    • 4.3.0.Final
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              hchiorean Horia Chiorean (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: