-
Enhancement
-
Resolution: Done
-
Major
-
12.0.0.Final
-
DataGrid Sprint #47, DataGrid Sprint #48
-
Documentation (Ref Guide, User Guide, etc.), User Experience
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
- links to