Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8317

EvictionConfiguration deprecated but still required

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 9.1.0.Final
    • Fix Version/s: None
    • Component/s: Eviction
    • Labels:
      None

      Description

      EvictionConfiguration is deprecated in 9.1 as it is replaced by MemoryConfiguration. However, there are several places in the code where the memory configuration is not referenced, and instead relies upon EvictionConfiguration.
      e.g.

      • AdvancedCache.evict(...) logs a WARN when EvictionConfiguration.strategy().isEnabled() returns false - which is the default value.
      • The PersistenceManager preload logic determines the number of entries to load based on EvictionManager.maxEntries(), instead of MemoryConfiguration.size()

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  pferraro Paul Ferraro
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: