[
https://issues.jboss.org/browse/ISPN-2871?page=com.atlassian.jira.plugin....
]
Adrian Nistor commented on ISPN-2871:
-------------------------------------
It only takes into account the keys in local data container. Keys located on other members
(distributed mode) or externally in a cache store are not taken into account due to
execution cost. Please note that not just size() behaves this way. Other map methods like
values(), keySet(), entrySet() execute strictly locally and in-memory.
All nodes are not replicated when eviction is enabled
-----------------------------------------------------
Key: ISPN-2871
URL:
https://issues.jboss.org/browse/ISPN-2871
Project: Infinispan
Issue Type: Bug
Components: Eviction
Affects Versions: 5.2.1.Final
Reporter: Chris Beer
Assignee: Adrian Nistor
Priority: Blocker
Fix For: 5.3.0.Final
When I enable replication and eviction, it appear that not all nodes are replicated to
all hosts. This problem was discovered when clustering modeshape with eviction, and
critical nodes were not being properly replicated.
I've modified the clustered-cache quick-start to (hopefully) demonstrate this
problem:
https://github.com/cbeer/infinispan-quickstart/tree/replication-eviction-...
Node1 creates 100 cache entries (key0 -> key99). When eviction is disabled, the final
cache size on Node0 is 100. When eviction is enabled, the final cache size is 78.
This seems suspiciously similar to ISPN-2712.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira