[
https://issues.jboss.org/browse/ISPN-3298?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on ISPN-3298:
-----------------------------------------------
Jakub Markos <jmarkos(a)redhat.com> made a comment on [bug
987521|https://bugzilla.redhat.com/show_bug.cgi?id=987521]
Please see the linked JIRA for more information.
Can't retrieve evicted entries from FileCacheStore
--------------------------------------------------
Key: ISPN-3298
URL:
https://issues.jboss.org/browse/ISPN-3298
Project: Infinispan
Issue Type: Bug
Reporter: Jakub Markos
Assignee: Mircea Markus
Attachments: server.log
When using this configuration for the latest (6.0.0-SNAPSHOT) infinispan-server:
{code:xml}
<subsystem xmlns="urn:infinispan:server:core:5.3"
default-cache-container="local">
<cache-container name="local"
default-cache="default">
<local-cache name="default" start="EAGER">
<locking isolation="NONE"
acquire-timeout="30000" concurrency-level="1000"
striping="false"/>
<transaction mode="NONE"/>
<eviction strategy="LRU" max-entries="5"/>
<file-store passivation="true" path="dc"
purge="true" shared="false"/>
</local-cache>
</cache-container>
</subsystem>
{code}
and running this code:
{code}
for (int i = 0; i < 6; i++) {
cache.put("k" + i, "v" + i);
}
for (int i = 0; i < 6; i++) {
System.out.println("k" + i + ": " + cache.get("k" +
i));
}
{code}
I'm getting (reproducibly):
{quote}
k0: null
k1: v1
k2: v2
k3: null
k4: v4
k5: v5
{quote}
The directory $\{server\}/standalone/data/dc/default/ contains 2 files (with v0 and v3).
Server trace log attached.
--
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