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

Explanation for eviction leads confusion

    XMLWordPrintable

Details

    Description

      chapter 8.2. Eviction  (https://infinispan.org/docs/dev/titles/configuring/configuring.html#eviction-config)

      Starts with a sentence that leads confusion

      "Eviction lets you control the size of the data container by removing cache entries to make space when adding new entries."

       

      The wording "removing cache entries to make space" sound like the entry will be removed like a remove('key') invocation or expiration.
      But this is not the case. It should be clear that the entry is evicted from memory on exactly this instance, no other instance is affected.

      To prevent from not deterministic behaviour if different instances within the cluster are used for request eviction should not be configured without persistence (as mentioned) but the initial statement should be more precise

       

      Proposal

      Eviction lets you contol the size of data container in this local instance by dropping (evict) one choosen entry from memory only without further effects.
      This is a local action for this node and does not affect any other node within the cluster

      To prevent from inconsistency eviction should not be used without a configured persistence
       
       

      Attachments

        Issue Links

          Activity

            People

              dnaro@redhat.com Donald Naro
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: